This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc question
- From: "John Anthony Kazos Jr." <jkazos at vt dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 24 May 2003 07:47:01 -0400
- Subject: Re: gcc question
> Each time I compile and link my library source code, the compiler add
> the prefix lib to the compiled file name.
>
> Which is the option that I need to pass to gcc to tell the
> compiler/linker not to add the prefix lib at the beginning of the linked
> file ?
I'm interested in the answer to this question, as well. I'd also like to
know if there's a way to adjust existing programs. For example, running
ldd() on an executable shows me a reference to "/lib/ld-linux.so.2", and
I'd like that to be a reference simply to "ld-linux" so it will
automatically find the ld-linux.so file.
If I'm misunderstanding how it works, and it really does need a full path
(which is stupid, but oh well), then I'd like to be able to change it to a
reference to "/some/where/ld-linux.so".