Re: Building gcc: "decContext.c:38:43: error: string.h: No such file or directory"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Timur Tabi <timur@xxxxxxxxxxxxx> writes:

> I'm building gcc 4.3.3 on a PowerPC Mac OS X 10.5 system, target is
> powerpc-linux.  The build fails with this error.  I don't understand
> how, after compiling hundreds of files, it suddenly can't find
> string.h and stdio.h.
>
> /Volumes/Goliath/Users/timur/dev/gcc-bin/./gcc/xgcc
> -B/Volumes/Goliath/Users/timur/dev/gcc-bin/./gcc/

The failure is occurring when the newly built gcc is being used to
compile gcc's support library.

Building a cross-compiler to a GNU/Linux system is tricky.  I recommend
looking at the scripts found via http://crosstool.org/ .

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux