public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-3.4.3 build fails for i386-pc-linux-gnu target
@ 2005-08-14  7:43 pnayak
  2005-08-14  8:00 ` patriciak784-gccmainling
  2005-08-15 19:37 ` Ian Lance Taylor
  0 siblings, 2 replies; 4+ messages in thread
From: pnayak @ 2005-08-14  7:43 UTC (permalink / raw)
  To: gcc-help

Hi All,

I configured gcc with "configure --target=i386-pc-linux-gnu --prefix
/home/usr/tools" and then did "make all-gcc". It fails with the following error.

../../gcc-3.4.4/gcc/config/i386/linux.h:217:20: signal.h: No such file or directory
../../gcc-3.4.4/gcc/config/i386/linux.h:218:26: sys/ucontext.h: No such file or
directory
gmake[2]: *** [libgcc/./_muldi3.o] Error 1
gmake[2]: Leaving directory
`/usr/home/annu/projects/ctrack/build-tools/build-boot-gcc/gcc'
gmake[1]: *** [libgcc.a] Error 2
gmake[1]: Leaving directory
`/usr/home/annu/projects/ctrack/build-tools/build-boot-gcc/gcc'
gmake: *** [all-gcc] Error 2

Please let me know if any of you have tried a version of gcc that builds without
errors for this target.

thanks
nayak

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:  gcc-3.4.3 build fails for i386-pc-linux-gnu target
  2005-08-14  7:43 gcc-3.4.3 build fails for i386-pc-linux-gnu target pnayak
@ 2005-08-14  8:00 ` patriciak784-gccmainling
  2005-08-15 19:37 ` Ian Lance Taylor
  1 sibling, 0 replies; 4+ messages in thread
From: patriciak784-gccmainling @ 2005-08-14  8:00 UTC (permalink / raw)
  To: pnayak; +Cc: gcc-help


--- pnayak@nmsu.edu schrieb:

> Hi All,
> 
> I configured gcc with "configure
> --target=i386-pc-linux-gnu --prefix
> /home/usr/tools" and then did "make all-gcc". It
> fails with the following error.
> 
> ../../gcc-3.4.4/gcc/config/i386/linux.h:217:20:
> signal.h: No such file or directory
> ../../gcc-3.4.4/gcc/config/i386/linux.h:218:26:
> sys/ucontext.h: No such file or
> directory
> gmake[2]: *** [libgcc/./_muldi3.o] Error 1
> gmake[2]: Leaving directory
>
`/usr/home/annu/projects/ctrack/build-tools/build-boot-gcc/gcc'
> gmake[1]: *** [libgcc.a] Error 2
> gmake[1]: Leaving directory
>
`/usr/home/annu/projects/ctrack/build-tools/build-boot-gcc/gcc'
> gmake: *** [all-gcc] Error 2
> 
> Please let me know if any of you have tried a
> version of gcc that builds without
> errors for this target.
> 
> thanks
> nayak
> 
I think this is the same error MinGW has when
compiling GCC. The new GCC doesn't look for the
include files in the same directories as the old one.
(This is what I think)


	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc-3.4.3 build fails for i386-pc-linux-gnu target
  2005-08-14  7:43 gcc-3.4.3 build fails for i386-pc-linux-gnu target pnayak
  2005-08-14  8:00 ` patriciak784-gccmainling
@ 2005-08-15 19:37 ` Ian Lance Taylor
  2005-08-16  1:59   ` pnayak
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2005-08-15 19:37 UTC (permalink / raw)
  To: pnayak; +Cc: gcc-help

pnayak@nmsu.edu writes:

> I configured gcc with "configure --target=i386-pc-linux-gnu --prefix
> /home/usr/tools" and then did "make all-gcc".

Building a cross-compiler to a GNU/Linux target is a somewhat involved
operation.  For details and scripts, see
    http://kegel.com/crosstool/

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc-3.4.3 build fails for i386-pc-linux-gnu target
  2005-08-15 19:37 ` Ian Lance Taylor
@ 2005-08-16  1:59   ` pnayak
  0 siblings, 0 replies; 4+ messages in thread
From: pnayak @ 2005-08-16  1:59 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help

Quoting Ian Lance Taylor <ian@airs.com>:

> pnayak@nmsu.edu writes:
> 
> > I configured gcc with "configure --target=i386-pc-linux-gnu --prefix
> > /home/usr/tools" and then did "make all-gcc".
> 
> Building a cross-compiler to a GNU/Linux target is a somewhat involved
> operation.  For details and scripts, see
>     http://kegel.com/crosstool/
> 
> Ian
> 


I did look up crosstool earlier it wasn't much help because it's only been
tested on gcc-2.95.3 which I have no problems with. But I found the problem. The
--without-headers options seems to be causing a problem. I installed glibc first
and point gcc configure to the installed headers with --with-headers and it worked.

Nayak

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-16  1:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-14  7:43 gcc-3.4.3 build fails for i386-pc-linux-gnu target pnayak
2005-08-14  8:00 ` patriciak784-gccmainling
2005-08-15 19:37 ` Ian Lance Taylor
2005-08-16  1:59   ` pnayak

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).