public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@wasabisystems.com>
To: "Hari Maddukuri" <hmaddukuri@swa.org>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: gcc: file path prefix  error
Date: Thu, 22 Apr 2004 01:42:00 -0000	[thread overview]
Message-ID: <m3k708rdpb.fsf@gossamer.airs.com> (raw)
In-Reply-To: <57377EB668497E4FACC289C4BA63E0E07E2E37@athene.corp.swa.org>

"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

      reply	other threads:[~2004-04-22  1:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21 19:12 Hari Maddukuri
2004-04-22  1:42 ` Ian Lance Taylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k708rdpb.fsf@gossamer.airs.com \
    --to=ian@wasabisystems.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=hmaddukuri@swa.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).