This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Help me about Building Cygwin hosted newlib-based target tool chain


Hi! Bertin

Thank you very much!
I have succeed by you help!
All three building is very well now.

But I don't know what is the different from building
in source tree and out of source tree?
Why we need building cross binutils gcc newlib out of
source tree?

Are you know?

sincerely
Wales Wang


--- "Bertin, Philippe" <philippe.bertin@barco.com>
µÄÕýÎÄ£º> Weixun (hope that's your first name),
> 
> How did you configure ? I had a several similar
> problems while recently
> compiling the (about) the same configuration - on a
> Solaris. I first used
> binutils 2.11.?, and switched to 2.10.1, but still
> encoutered the same (and
> think it was this) problem.
> 
> I remember that one of the first errors I made, was
> that I ran the configure
> in the same directory as the sources were (I know
> now, from experience and
> better reading, that one should build starting from
> another directory than
> the sources directory, so using ../newlib/configure
> <options> starting from
> another directory). If that's not the case (and I
> don't think that this
> problem is due to that reason), I think that I
> removed this target
> 'libgloss' from the Makefile, as I didn't need it.
> Please have a look at the
> logs of this newsgroup of about a month ago, you'll
> certainly find some
> clues there ...
> 
> Regards,
> 
> Philippe Bertin
> 
> > -----Original Message-----
> > From:	Weixun Wang [SMTP:wormwang@yahoo.com]
> > Sent:	dinsdag 8 januari 2002 5:09
> > To:	crossgcc@sources.redhat.com
> > Subject:	Help me about Building Cygwin hosted
> newlib-based target
> > toolchain
> > 
> > Hi! All
> > 
> > Recently,I follow the guide --Building Cygwin
> hosted
> > newlib-based target toolchain trying the Cross
> Gcc.
> > 
> > I used 
> > binutils-2.11.2
> > gcc-2.95.3
> > newlib-1.9.0
> > 
> > The build of binutils and gcc is very well.
> > But when I compile the newlib-1.9.0,I encouter the
> > error:
> > powerpc-eabi-gcc: file path prefix
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/'
> > never used
> > powerpc-eabi-gcc
> >
>
-B/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/targ-include
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/newlib/libc/include
> >  -I. -I./.. `if [ -d ./../../newlib ]; then echo
> > -I./../../newlib/targ-include
> > -I./../../newlib/libc/include; fi` -O2 -I. -I./..
> -c
> > -g -O2 unlink.c
> > powerpc-eabi-gcc: file path prefix
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/'
> > never used
> > powerpc-eabi-gcc
> >
>
-B/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/targ-include
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/newlib/libc/include
> >  -I. -I./.. `if [ -d ./../../newlib ]; then echo
> > -I./../../newlib/targ-include
> > -I./../../newlib/libc/include; fi` -O2 -I. -I./..
> -c
> > -g -O2 wait.c
> > powerpc-eabi-gcc: file path prefix
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/'
> > never used
> > powerpc-eabi-gcc
> >
>
-B/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/targ-include
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/newlib/libc/include
> >  -I. -I./.. `if [ -d ./../../newlib ]; then echo
> > -I./../../newlib/targ-include
> > -I./../../newlib/libc/include; fi` -O2 -I. -I./..
> -c
> > -g -O2 write.c
> > powerpc-eabi-gcc: file path prefix
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/'
> > never used
> > powerpc-eabi-ar rv libnosys.a close.o environ.o
> > execve.o fork.o fstat.o getpid.o gettod.o isatty.o
> > kill.o link.o lseek.o open.o read.o sbrk.o stat.o
> > times.o unlink.o wait.o write.o
> > a - close.o
> > a - environ.o
> > a - execve.o
> > a - fork.o
> > a - fstat.o
> > a - getpid.o
> > a - gettod.o
> > a - isatty.o
> > a - kill.o
> > a - link.o
> > a - lseek.o
> > a - open.o
> > a - read.o
> > a - sbrk.o
> > a - stat.o
> > a - times.o
> > a - unlink.o
> > a - wait.o
> > a - write.o
> > powerpc-eabi-ranlib libnosys.a
> > make[2]: Leaving directory
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/libgloss/libnosys'
> > make[2]: Entering directory
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/libgloss/rs6000'
> > powerpc-eabi-gcc
> >
>
-B/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/targ-include
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/newlib/libc/include
> > -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then
> > echo -I./../../newlib/targ-include
> > -I./../../newlib/libc/include; fi`
> -mrelocatable-lib
> > -mno-eabi -I. -I./.. -g -O2 -c sim-crt0.S
> > powerpc-eabi-gcc: file path prefix
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/'
> > never used
> > powerpc-eabi-gcc
> >
>
-B/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/targ-include
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/newlib/libc/include
> > -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then
> > echo -I./../../newlib/targ-include
> > -I./../../newlib/libc/include; fi`
> -mrelocatable-lib
> > -mno-eabi -I. -I./.. -g -O2 -c mcount.S
> > powerpc-eabi-gcc: file path prefix
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/'
> > never used
> > powerpc-eabi-gcc
> >
>
-B/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/targ-include
> > -isystem
> >
>
/cygdrive/c/unix/CrossGCC/newlib-1.9.0/newlib/libc/include
> > -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then
> > echo -I./../../newlib/targ-include
> > -I./../../newlib/libc/include; fi`
> -mrelocatable-lib
> > -mno-eabi -O2 -I. -I./.. -c -g -O2 sim-print.c
> > powerpc-eabi-gcc: file path prefix
> >
>
`/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/'
> > never used
> > powerpc-eabi-gcc
> >
>
-B/cygdrive/c/unix/CrossGCC/newlib-1.9.0/powerpc-eabi/newlib/
> > -isystem
> 
=== message truncated === 



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]