linking libraries without name prefix/suffix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
i hope this is the right mailinglist for this, my apologies this is
not the case :)

however, i need to link (through invokation of g++, if possible) a
library that does not have the "libxxx.a" scheme, so i would like to
make g++ not prefix the library name with "lib" and suffix it with
".a". if i understood the gcc manual correctly, i could specify the
libarary without the "-l" option, but then the library paths (plus
those specified with "-L") would not be searched. unfortunately, i
need these paths to be searched, because i do not know the exact paths
of the libraries since i am trying to write a makefile for
compilation.
by the way, i'm trying hard to avoid external tools such as the
autotools, so i hope there is a way to solve my little problem in
another way :)

thank you in advance

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux