Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2011 13:52:00 -0700
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        "Thomas Mueller" <mueller6727@bellsouth.net>
Cc:        ports@freebsd.org
Subject:   Re: devel/cross-gcc and cross-binutils: how to set TGTARCH and TGTABI
Message-ID:  <20111010135200.5c6e4a56.stas@FreeBSD.org>
In-Reply-To: <20111008095102.8AA6F1065708@hub.freebsd.org>
References:  <20111007111323.0024ac12.stas@FreeBSD.org> <20111008095102.8AA6F1065708@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Oct 2011 09:51:00 +0000 (GMT)
"Thomas Mueller" <mueller6727@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111010135200.5c6e4a56.stas>