devel/cross-gcc and cross-binutils: how to set TGTARCH and
TGTABI
Stanislav Sedov
stas at FreeBSD.org
Mon Oct 10 20:52:52 UTC 2011
On Sat, 8 Oct 2011 09:51:00 +0000 (GMT)
"Thomas Mueller" <mueller6727 at bellsouth.net> mentioned:
>
> > You cannot use this port to build toolchaing for compiling Linux and
> > NetBSD applications. This port creates toolchain using the newlib
> > libc library, which is used by some embedded operating systems (e.g.
> > rtems, ecos). It can also be used to build bare-metal standalone
> > applications. Linux on the other hand is using glibc and NetBSD their
> > own libc implementation, so this toolchain would not work.
>
> > Stanislav Sedov
>
> Thanks for clarification. What you say was not obvious from the pkg-descr.
>
> Now I will know one blind alley to avoid in cross-compiling for Linux and NetBSD.
>
What is your target?
Do you just want to cross-build the Linux and NetBSD kernels, or userland
applications? For Linux we can probably try to add a port that uses glibc
instead of newlib.
--
Stanislav Sedov
ST4096-RIPE
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
More information about the freebsd-ports
mailing list