This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem with library path
- To: <gcc at gcc dot gnu dot org>
- Subject: Problem with library path
- From: "Mirek Marciniszyn" <M dot Marciniszyn at aldec dot gda dot pl>
- Date: Thu, 26 Apr 2001 15:53:58 +0200
Hello,
I have a problem:
During compilation simply source file a get the message:
ld: fatal: file crt1.o: cannot open file: No such file or directory.
Under Solaris 8 i have installed a binary package. Normally it is installed
to: /usr/local/bin and library to: /usr/local/lib/gcc-lib/....
But I must use it from another location, such as: /cd/ - there is my
directory. So, in this directory I have created a subdirectory "bin" and
"lib". Moreover, I have selected these env.
PATH=/cd/bin:/cd/lib
LD_LIBRARY_PATH=/cd/lib
It doesn't work. Why ? What's wrong ?
Thanks for You help.
Best Regards,
Mirek Marciniszyn.