monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2


From: Will Robertson
Subject: Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2
Date: Tue, 16 Dec 2003 19:36:39 +0000

(see below)

On 2003.12.16 17:54, Patrick Mauritz wrote:
On Tue, Dec 16, 2003 at 09:43:33AM -0700, Tom Tromey wrote:
> This may not work.  I don't know the situation now, not having
> worked on a non-Linux box in a few years, but previously the choice > of ld was made when configuring gcc, and actually changed gcc's
> behavior.

it definitely doesn't work

> Another possibility is to figure out how monotone should pass
> -static/-shared or equivalent options for the Sun ld, then either
> see if there is a way to do this that also works with GNU ld, or
> use configure to select the switches.


Err... it's Solaris' ld that doesn't like the switches -- prev. post gives URLs to some bug-requests/posts/explanations; basically boost wants to compile some libraries with -shared and -static switches, which works fine with GNU ld, but when GCC converts -shared and -static to what it thinks Solaris' ld wants, it ends up being a conflict, and it looks like the GCC team don't want to 'fix' it, they just want you to give the full path to a static lib, instead of using '-static
-l<blah>'


or just build the thing dynamically - iirc boost still tries to build
some libraries as shared even if you ask it to build only static ones, yes, sucks..

same for monotone later, just configure with --enable-shared (doesn't
work otherwise as pthreads and some other stuff doesn't exist as static libraries on solaris)



This is what I was thinking of trying. Thanks, I'll definitely have a go at this.



patrick mauritz


_______________________________________________
Monotone-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/monotone-devel







reply via email to

[Prev in Thread] Current Thread [Next in Thread]