public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc: file path prefix  error
@ 2004-04-21 19:12 Hari Maddukuri
  2004-04-22  1:42 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Hari Maddukuri @ 2004-04-21 19:12 UTC (permalink / raw)
  To: gcc-help

Hi,

I recently installed GCC 2.95.2 on SCO OpenServer 5.0.5.

# 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?

Thanks 
Hari.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc: file path prefix  error
  2004-04-21 19:12 gcc: file path prefix error Hari Maddukuri
@ 2004-04-22  1:42 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2004-04-22  1:42 UTC (permalink / raw)
  To: Hari Maddukuri; +Cc: gcc-help

"Hari Maddukuri" <hmaddukuri@swa.org> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-22  1:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-21 19:12 gcc: file path prefix error Hari Maddukuri
2004-04-22  1:42 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).