From: Daniel Jacobowitz <drow@false.org>
To: Aaron Gaudio <agaudio@eng.mc.xerox.com>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: Configuring linker flags while cross-compiling gdb
Date: Mon, 13 Jun 2005 19:42:00 -0000 [thread overview]
Message-ID: <20050613194212.GA24109@nevyn.them.org> (raw)
In-Reply-To: <1118689574.27729.82.camel@rockhopper>
On Mon, Jun 13, 2005 at 03:06:14PM -0400, Aaron Gaudio wrote:
> In the case of libsocket, it is not a cross-compiler problem; you always
> have to add -lsocket to the link libs when using things like socket(),
> or linking libraries that do (such as X11 libs). The problem is that
> when building a native gdb on solaris (with --target=i386-pc-
> solaris2.10), configure detects that -lsocket is required and adds it to
> the appopriate Makefile macros, but does not when building for x86
> Solaris....
But it still ought to. That's what I meant by a cross-compiler
problem; something has gone wrong during the configure step.
> Any further help is much appreciated.
I usually stuff things that need to go in LDFLAGS in $CC if they're
being ornery.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-06-13 19:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-13 15:27 Aaron Gaudio
2005-06-13 15:30 ` Daniel Jacobowitz
2005-06-13 19:07 ` Aaron Gaudio
2005-06-13 19:40 ` Aaron Gaudio
2005-06-13 19:42 ` Daniel Jacobowitz [this message]
2005-06-14 7:20 UDOGAN
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=20050613194212.GA24109@nevyn.them.org \
--to=drow@false.org \
--cc=agaudio@eng.mc.xerox.com \
--cc=gdb@sources.redhat.com \
/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