From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7519 invoked by alias); 26 Aug 2002 20:15:06 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 7511 invoked from network); 26 Aug 2002 20:15:05 -0000 Received: from unknown (HELO hotmail.com) (64.4.19.145) by sources.redhat.com with SMTP; 26 Aug 2002 20:15:05 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 Aug 2002 13:15:05 -0700 Received: from 192.18.42.10 by lw12fd.law12.hotmail.msn.com with HTTP; Mon, 26 Aug 2002 20:15:05 GMT X-Originating-IP: [192.18.42.10] From: "Johnathan Davis" To: wqin@EE.Princeton.EDU Cc: gcc-help@gcc.gnu.org Bcc: Subject: Re: Building an xscale cross compiler Date: Mon, 26 Aug 2002 13:15:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Aug 2002 20:15:05.0637 (UTC) FILETIME=[44709D50:01C24D3D] X-SW-Source: 2002-08/txt/msg00218.txt.bz2 Yes. Good point. However, if I continue on and try to install newlib targeting xscale-elf, it appears that the gcc build step has not yet generated the xscale-elf-gcc binary. The xgcc residing in the gcc3_build/gcc directory appears to be unfinished. That is, an attempt to compile with this xgcc does not work, as cc1 still needs to be linked in somehow. Are you suggesting I add gcc3_build/gcc to my path and rename xgcc to xscale-elf-gcc in the gcc3_install/bin directory? thanks again -j make[3]: Entering directory `/home/kbuza/gcc3newlib/xscale-elf/newlib/libc/stdlib' xscale-elf-gcc -B/home/kbuza/gcc3newlib/xscale-elf/newlib/ -isystem /home/kbuza/gcc3newlib/xscale-elf/newlib/targ-include -isystem /home/kbuza/gcc3/newlib-1.10.0/newlib/libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.10.0\" -I. -I../../../../../gcc3/newlib-1.10.0/newlib/libc/stdlib -O2 -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY -DARM_RDI_MONITOR -I../../targ-include -I../../../../../gcc3/newlib-1.10.0/newlib/libc/../libc/include -fno-builtin -g -O2 -c ../../../../../gcc3/newlib-1.10.0/newlib/libc/stdlib/__adjust.c make[3]: xscale-elf-gcc: Command not found >From: Wei Qin >To: Johnathan Davis >CC: gcc-help@gcc.gnu.org >Subject: Re: Building an xscale cross compiler >Date: Mon, 26 Aug 2002 15:31:54 -0400 (EDT) > > > >I think you can ignore this. >The configuration file is trying to build binaries with the cross >compiled gcc and run it. Of course it will fail since your xgcc produces >xscale binary. > >Wei > >On Mon, 26 Aug 2002, Johnathan Davis wrote: > > > Hi, > > I'm currently attempting to build a (gcc3.0.4) cross compiler for Linux >on > > XScale. I am trying to build this cross compiler on an x86 Linux >machine. > > My approach has been the following: > > > > build binutils: > > binutils> ../binutils/configure --target=xscale-elf >--prefix=/gcc3_install > > binutils> make all install > > > > build gcc > > gcc3_build> ../gcc304/configure --target=xscale-elf >--prefix=/gcc3_install > > gcc3_build> make all install > > > > This invariably results in the following error: > > > > checking whether the C compiler (/gcc3_build/gcc/xgcc -B/gcc3_build/gcc/ > > -B/gcc3_install/xscale-elf/bin/ -B/gcc3_install/xscale-elf/lib/ -isystem > > /gcc3_install/xscale-elf/include -g -O2 ) works... no > > configure: error: installation or configuration problem: C compiler >cannot > > create executables. > > make: *** [configure-target-libiberty] Error 1 > > > > The associated config.log file is attached. What am I failing to >configure > > correctly? > > > > thanks > > > > -j > > > > > > > > > > > > > > _________________________________________________________________ > > Join the world’s largest e-mail service with MSN Hotmail. > > http://www.hotmail.com > > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com