Boost package settings for using cross-compiler ?
I successfully (so I thought) created a package file for building the Boost C++ libraries under buildroot, but when I came to use them, found they had been built using native (i386) tools, unlike the rest of the libraries built by Buildroot, which were ARM architecture.
The top-level Boost config parameters do not appear to have a tool prefix or macro to support cross-tools.
So - has anyone built Boost successfully before ?
I imagine that if so, the distribution would already contain a package file for the library ...
Regards,
Mike
Hi,
we use boost with ppc crosscompiler, here is my buildroot package.
Sure, its depend an bjam installed on host, the buildroot C++ toolchain, theading, zlib, .... Realy, a big package for an embedded device ;-)
Check the boost configuration in boost.mk!
Regards,
claus
Quoted 13 lines · MikeW
I successfully (so I thought) created a package file for building the Boost C++ libraries under buildroot, but when I came to use them, found they had been built using native (i386) tools, unlike the rest of the libraries built by Buildroot, which were ARM architecture.
The top-level Boost config parameters do not appear to have a tool prefix or macro to support cross-tools.
So - has anyone built Boost successfully before ?
I imagine that if so, the distribution would already contain a package file for the library ...
Quoted 9 lines
Regards,
Mike_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boost.tgz
Type: application/x-tgz
Size: 2544 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20061121/3ab5b92a/attachment.bin
Quoted 6 lines · Claus Klein
Hi,
we use boost with ppc crosscompiler, here is my buildroot package.
Sure, its depend an bjam installed on host, the buildroot C++ toolchain,
theading, zlib, ....
Quoted 7 lines
Realy, a big package for an embedded device
Check the boost configuration in boost.mk!
Regards,
claus
Thanks - I worked around this in my own boost.mk by putting GCC_ROOT_DIRECTORY (why not _DIR ??) =$(STAGING_DIR)/arm-linux-xxx within my "$(MAKE) ...<here!>.... all" target command line.
This then allows the Buildroot tools to alias the native gcc tools without any prefixes. Shame that Boost's own makefile doesn't use CC.
Just have to solve to toolchain EABI version problem now :(
Regards,
Mike