On Thu, 6 Oct 2011 08:43:31 +0000 (GMT) "Thomas Mueller" <mueller6...@bellsouth.net> mentioned:
> > From $PORTSDIR/devel/cross-binutils: > > > GNU binutils for cross-target application development. > > > Prerequisite for the GCC cross-compiling environment. > > > Use TGTARCH switch to select target architecture, and TGTABI to select ABI. > > E.g. the following command will build binutils for rtems on sparc: > > % make TGTARCH=sparc TGTABI=rtems > > > If you encounter any problems building/using/installing this port, please > > make me know. It would help to improve this port in feature. > > -- Stanislav Sedov <s...@freebsd.org> > > My question is how to set TGTARCH and TGTABI, that is not documented; I > looked at the web sites. > > Would TGTARCH be i386 or amd64, if I want to build for those platforms? > > What about TGTABI? I don't know the proper code words, would want to compile > for Linux and possibly NetBSD. > > Maybe I need to "make fetch" followed by "make extract" and look inside? > Hi! 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 ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"