public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Johnathan Davis" <maxfischer_81@hotmail.com>
To: wqin@EE.Princeton.EDU
Cc: gcc-help@gcc.gnu.org
Subject: Re: Building an xscale cross compiler
Date: Mon, 26 Aug 2002 13:15:00 -0000	[thread overview]
Message-ID: <F145cdEc83LUEM7RAlu000198e8@hotmail.com> (raw)

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 <wqin@EE.Princeton.EDU>
>To: Johnathan Davis <maxfischer_81@hotmail.com>
>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

             reply	other threads:[~2002-08-26 20:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26 13:15 Johnathan Davis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-26 12:27 Johnathan Davis
2002-08-26 12:31 ` Wei Qin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F145cdEc83LUEM7RAlu000198e8@hotmail.com \
    --to=maxfischer_81@hotmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=wqin@EE.Princeton.EDU \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).