From owner-freebsd-stable Tue Aug 7 2:15:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailgate2.abacus.co.uk (mailgate2.abacus.co.uk [194.130.48.119]) by hub.freebsd.org (Postfix) with SMTP id 73DCD37B401 for ; Tue, 7 Aug 2001 02:15:25 -0700 (PDT) (envelope-from antony@dp.abacus.co.uk) Received: (qmail 41113 invoked from network); 7 Aug 2001 09:15:19 -0000 Received: from unknown (HELO dp.abacus.co.uk) (194.130.48.111) by mailgate2.abacus.co.uk with SMTP; 7 Aug 2001 09:15:19 -0000 Message-ID: <3B6FB1A7.8765B5E6@dp.abacus.co.uk> Date: Tue, 07 Aug 2001 10:15:19 +0100 From: Antony T Curtis Reply-To: antony@abacus.co."uk" Organization: Abacus Polar PLC (UK) X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.1.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Kevin Mills Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Cross compiling for AIX References: <851ymox0y8.fsf@diablo.in.a6l.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kevin Mills wrote: > > I've follwed the cross GCC instructions and had little success, so I'm > beginning to wonder if it is even possible - Is it possible to set up GCC to > cross-compile on FreeBSD for AIX? Has anyone attempted this? I would think this is difficult at best as binutils cannot handle AIX's XCOFF32/64 object files. On the AIX platform, GCC has to use IBM supplied ar, ld, as etc. You'd be better off just using GCC on AIX and using NFS to make the files available to both boxes... I use rsh if I want to start gcc on the AIX box from FreeBSD. -- ANTONY T CURTIS Tel: +44 (1635) 36222 Abacus Polar Holdings Ltd Fax: +44 (1635) 38670 > Weiler's Law: >  Nothing is impossible for the man who doesn't have to do it > himself. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message