"Hari Maddukuri" <hmaddukuri@xxxxxxx> writes: > I recently installed GCC 2.95.2 on SCO OpenServer 5.0.5. That is a remarkably old version. There are a number of newer versions. > # gcc -v > Reading specs from > /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/specs > gcc version 2.95.2 19991024 (release) > > I can compile and run a c program but not an esql c. Getting following > error when I try to compile ESQL C programs. > > crtbegin.o: fatal error: cannot open file for reading > gcc: file path prefix `/usr/local/lib/gcc-lib/elf/2.95.2/' never used > > I set the environmental variable GCC_EXEC_PREFIX to > /usr/local/lib/gcc-lib/ > > Can someone explain what this means and how to fix this? Look under /usr/local/lib/gcc-lib for a file named "crtbegin.o". Make sure you have read access to it. Ian