public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Enable dynamic for cross to sparc-sun-solaris2.8
@ 2004-12-07  5:21 Aaron W. LaFramboise
  0 siblings, 0 replies; only message in thread
From: Aaron W. LaFramboise @ 2004-12-07  5:21 UTC (permalink / raw)
  To: gcc

[This message elicited no response from gcc-help.]

I've successfully built a crosscompiler to sparc-sun-solaris2.8 using
GCC and binutils mainline, but I notice that the resulting compiler only
creates static executables.

How can I build the compiler so that it builds dynamic executables?

I've noticed that all native dynamic binaries, both from Sun Workshop 6
and GCC, reference /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1.
I suspect I need to get the compiler to understand that it needs to link
against this directory, but I have no idea how.  It would somehow need
to know that the target is SUNW,Sun-Blade-100, which isn't specified (as
far as I know) by the target triple.

This appears to be possible, though, as a web search shows that people
before me have gotten this to work.

$ uname -a
SunOS host 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-100

Aaron W. LaFramboise

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-07  5:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07  5:21 Enable dynamic for cross to sparc-sun-solaris2.8 Aaron W. LaFramboise

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).