This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC snapshot problem

On Tue, 19 Feb 2002 wrote:
> I keep running into this problem. Does anyone know how to "fix" this?

The fix depends on the cause, and the cause is uncertain from your
message.  So you'll have to investigate a little...

> # which gcc
> /usr/lsd/SunOS.5.8/bin/gcc

This is probably not relevant, since the newly-built compiler is used to
create target libs.  That would be this one:

> checking whether the C compiler (/tmp/tools/gcc/gcc-20020218/gcc/xgcc
> -B/tmp/tools/gcc/gcc-20020218/gcc/
> -B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/bin/
> -B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/lib/ -isystem
> /usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/include  -m64 -g -O2 ) works... no

Run the above compiler with -print-prog-name=as to get the

> # which as
> /usr/lsd/SunOS.5.8/bin/as

...which may or may not be this one.

> which ld
> /usr/lsd/SunOS.5.8/bin/ld

Likewise for ld.

> configure: error: installation or configuration problem: C compiler cannot
> create executables.

Look in config.log for detailed error messages.


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