Error: CC not set to working compiler

Michael Sokolov msokolov@ivan.Harhan.ORG
Thu Sep 7 07:06:00 GMT 2000

RakeshN <> wrote:

> CC must be set to working compiler.

In the Canadian cross scenario, before you build your host x target toolchain,
you must first build and install a build x host and a build x target toolchain.

> I searched for i586-cygwin32-gcc and found out the path for this gcc.=20
> I then set CC to that gcc and exported it.

No, this is the wrong way to do it. (It is the right way for GNU packages, but
not for the Cygnus tree.) Your i586-cygwin32-gcc must be in your PATH. The
Cygnus configure will set CC, CC_FOR_TARGET, and CC_FOR_BUILD correctly for
each module given correct --build, --host, and --target options. Don't try to
set them manually, in the Cygnus tree it's way too complicated!

Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)

P.S. See /pub/embedded/cygnus-tree-intro on ivan.Harhan.ORG for more
information on the Cygnus tree.

More information about the Gcc-help mailing list