devel/cross-gcc and cross-binutils: how to set TGTARCH and TGTABI

Thomas Mueller mueller6727 at bellsouth.net
Sat Oct 8 09:51:02 UTC 2011


> 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.

Tom



More information about the freebsd-ports mailing list