make cross with egcs?
Jeffrey A Law
law@cygnus.com
Sun Dec 28 12:07:00 GMT 1997
In message < q9iusmmssk.fsf@fphp16.tphys.physik.uni-tuebingen.de >you write:
> and it went one a bit. After a short while it came up with missing
> include file stdio.h. I tried to copy the include files from the glibc
> to /opt/share/cross/include and set the cross include directory in the
> egcs Makefile. It then found the stdio.h, but it couldn't find any
> iincludefile that was in a subdirectory (like sys/), whereas the sys
> dir and the file was there.
As you realized this indicates that the compiler isn't finding the
cross include files.
Are there actually any "sys" include files in /opt/share/cross/include?
> Any idea whats wrong there? Shouldn't configure ask for the cross
> includedirectory?
There's options to set the cross include directory. By default it
is $(libsubdir)/sys-include
jeff
More information about the Gcc
mailing list