From owner-freebsd-ports@FreeBSD.ORG Thu Oct 6 08:53:34 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAEDD1065670 for ; Thu, 6 Oct 2011 08:53:34 +0000 (UTC) (envelope-from mueller6727@bellsouth.net) Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [204.127.217.101]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9748FC16 for ; Thu, 6 Oct 2011 08:53:34 +0000 (UTC) Date: Thu, 6 Oct 2011 08:43:31 +0000 (GMT) X-Comment: Sending client does not conform to RFC822 minimum requirements X-Comment: Date has been added by Maillennium Received: from localhost (adsl-68-210-187-7.sdf.bellsouth.net[68.210.187.7]) by isp.att.net (frfwmhc01) with SMTP id <20111006084330H0100n3jbre>; Thu, 6 Oct 2011 08:43:30 +0000 X-Originating-IP: [68.210.187.7] From: "Thomas Mueller" To: ports@freebsd.org Message-Id: <20111006085334.AAEDD1065670@hub.freebsd.org> Cc: Subject: devel/cross-gcc and cross-binutils: how to set TGTARCH and TGTABI X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 08:53:34 -0000 > 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 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