public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "k wayne" <pleexed@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: linking libraries without name prefix/suffix
Date: Thu, 25 Oct 2007 10:11:00 -0000	[thread overview]
Message-ID: <bcf9fe2c0710250112i5991eab2q84902e9f9071619d@mail.gmail.com> (raw)

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

             reply	other threads:[~2007-10-25  8:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25 10:11 k wayne [this message]
2007-10-25 12:44 ` John Love-Jensen

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=bcf9fe2c0710250112i5991eab2q84902e9f9071619d@mail.gmail.com \
    --to=pleexed@gmail.com \
    --cc=gcc-help@gcc.gnu.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).