i686-pc-sco3.2v5.0.4-gcc can't find cpp

David Edelsohn dje@watson.ibm.com
Mon Oct 19 22:37:00 GMT 1998


>>>>> Gary Ashton-Jones writes:

Gary> All seemed OK but when I started to compile mySQL I
Gary> got an error abort and when I checked the log I found this:

Gary> configure:3877: gcc -belf -o conftest -O3 -g -O2 -DDBUG_OFF   conftest.c
Gary> -lm  -lcrypt -lgen  -lgthreads -lsocket -lgthreads 1>&5
Gary> gcc: installation problem, cannot exec `cpp': No such file or directory
Gary> gcc: file path prefix `/usr/local/lib/gcc-lib/elf/egcs-2.91.57/' never
Gary> used

Gary> How do I make gcc look in the correct directory? (Is this a mySQL
Gary> problem or a gcc problem?)

	This is a mySQL problem.  mySQL is assuming a different compiler
to whom the -belf option means something different.  Through the -belf
option, mySQL is overriding where GCC should look for files like cpp and
libgcc.a. 

David




More information about the Gcc mailing list