If you intend to use the build-host's tinyXML library and headers, it is
not the right thing to do. You need to have the library built for the
target host, and it needs to be present on the target host at runtime.
There is probably a set of development files (mostly header files) that
will need to be present on the build host at build time. These may be
included with the main library package, or may be acquired as a 'devel'
package.
If you use a target-compatible cross toolchain, you can copy the runtime
object code from your build host to the target host where you will run
it. If you cross-build the library, you will need to make sure that it
doesn't over-write any existing native libraries on your build host. If
the library source package uses the usual 'configure' script, you can
specify, there, where to put the products of the build (probably using
'--prefix').
> Initially, I would like to build my project in the SBC itself. I need to use
> tinyxml to build my project but it seems like debian lenny doesn't have it.
>
> So now I am planning to cross compile the project in other machine (x86), let
> say Linux Mint, using gcc provided by TS
> (crosstool-linux-gcc-4.5.2-gclibc-2.9-oabi) and assuming tinyXML installed.
>
> Upon successful, I will copy the binary over to TS-7558.
>
> Is it the right thing to do?
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|