* [Buildroot] Boost package settings for using cross-compiler ?
@ 2006-11-20 15:46 MikeW
2006-11-21 20:12 ` Claus Klein
0 siblings, 1 reply; 3+ messages in thread
From: MikeW @ 2006-11-20 15:46 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Boost package settings for using cross-compiler ?
2006-11-20 15:46 [Buildroot] Boost package settings for using cross-compiler ? MikeW
@ 2006-11-21 20:12 ` Claus Klein
2006-11-22 8:55 ` MikeW
0 siblings, 1 reply; 3+ messages in thread
From: Claus Klein @ 2006-11-21 20:12 UTC (permalink / raw)
To: buildroot
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
On Monday 20 November 2006 16:46, MikeW wrote:
> 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
>
> _______________________________________________
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Boost package settings for using cross-compiler ?
2006-11-21 20:12 ` Claus Klein
@ 2006-11-22 8:55 ` MikeW
0 siblings, 0 replies; 3+ messages in thread
From: MikeW @ 2006-11-22 8:55 UTC (permalink / raw)
To: buildroot
Claus Klein <claus.klein@...> writes:
>
> 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
>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-22 8:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20 15:46 [Buildroot] Boost package settings for using cross-compiler ? MikeW
2006-11-21 20:12 ` Claus Klein
2006-11-22 8:55 ` MikeW
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox