Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2011 08:43:31 +0000 (GMT)
From:      "Thomas Mueller" <mueller6727@bellsouth.net>
To:        ports@freebsd.org
Subject:   devel/cross-gcc and cross-binutils: how to set TGTARCH and TGTABI
Message-ID:  <20111006085334.AAEDD1065670@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
> 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 <stas@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?

Tom




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