Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]FreeBSD/Linux Cross Compiler FUBAR
- To: Scott Stone <SStone@example.com>
- Subject: FreeBSD/Linux Cross Compiler FUBAR
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Thu, 28 Jun 2001 09:19:25 +0900
- Cc: "'tlug@example.com'" <tlug@example.com>
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <21DEAE09F017D111969700A0C9840752059DA958@example.com>
- References: <21DEAE09F017D111969700A0C9840752059DA958@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <V90SYD.A.TMF.DhnO7@example.com>
- Resent-Sender: tlug-request@example.com
>>>>> "Scott" == Scott Stone <SStone@example.com> writes: Scott> 2. binutils: ./configure --target=i386-redhat-linux IIRC 1. You need to tell configure that it's a cross-compiler. I seem to recall there were situations where $target!=$host wasn't enough. That should be fixed by now, but cross compiles are hard. 2. Maybe you need to tell it explicitly --host=freebsd? Check for that, anyway. 3. ./configure --usage might be of some help, there's plenty of doc with GCC, and there's the cross-compile FAQ (used to be at Cygnus). Scott> Here's where the problem comes in. As soon as it gets to Scott> stage2 and wants to use the "xgcc" stage1 compiler, it Scott> starts calling the crosslinker to try Dunno why this is happening. It shouldn't be using the cross-linker here. It should be using the native linker. Stage 2 is still hosted on freebsd, no? Maybe you need to use the --build flag to tell it the second stage is also on freebsd? But that would be stupid (ie, a bug), it should assume $build=$host=config.guess(). -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 _________________ _________________ _________________ _________________ What are those straight lines for? "XEmacs rules."
- References:
- FreeBSD/Linux Cross Compiler FUBAR
- From: Scott Stone <SStone@example.com>
Home | Main Index | Thread Index
- Prev by Date: RE: Routing problems
- Next by Date: RE: Routing problems
- Prev by thread: FreeBSD/Linux Cross Compiler FUBAR
- Next by thread: RE: FreeBSD/Linux Cross Compiler FUBAR
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links