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

See the CrossGCC FAQ for lots more infromation.


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

Error: CC not set to working compiler


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.

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


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