Error: CC not set to working compiler

Doug Evans dje@transmeta.com
Thu Sep 7 11:32:00 GMT 2000


RakeshN writes:
 > Hi all,
 > 
 > I am doing a canadian cross build. The specs are as follows
 > 
 > build = i586-linux-gnu
 > 
 > host=i586-cygwin32
 > 
 > target=h8300-hms 
 > 
 > When i run 
 > 
 > srcdir/configure --build=i586-linux-gnu --host=i586-cygwin32 --target=h8300-hms --prefix=wininstalldir --exec-prefix=wininstalldir/H-i586-cygwin32 
 > 
 > I get the error that
 > 
 > i586-cygwin32-gcc -o conftest conftest.c failed  .....
 > 
 > CC must be set to working compiler.
 > 
 > I searched for i586-cygwin32-gcc and found out the path for this gcc. 
 > 
 > I then set CC to that gcc and exported it.
 > 
 > But still the error is same....

Have you read the FAQ on building a Canadian Cross?

http://www.objsw.com/CrossGCC/

The shell script there for building a DOS hosted toolchain
without using DOS is equally applicable to building a cygwin
hosted toolchain without using cygwin.


More information about the Gcc-help mailing list