Skip site navigation (1)Skip section navigation (2)
Date:      30 Jan 1998 14:08:24 -0600
From:      stephen farrell <stephen@farrell.org>
To:        lcremean@tidalwave.net
Cc:        hackers@FreeBSD.ORG
Subject:   Re: [Elliot Lee <sopwith@cuc.edu>] Re: problems compiling obgtk under freebsd
Message-ID:  <873ei5ohc7.fsf@phaedrus.uchicago.edu>
In-Reply-To: Lee Cremeans's message of "Fri, 30 Jan 1998 13:13:52 -0500"
References:  <87d8h9oo5d.fsf@phaedrus.uchicago.edu> <19980130131352.29307@wakky.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Lee Cremeans <lee@wakky.dyn.ml.org> writes:

> On Fri, Jan 30, 1998 at 11:41:18AM -0600, stephen farrell wrote:
> > 
> > So I'm having trouble compiling elliot lee's gtk/objective c bindings
> > which are used in the gnome project.  The problem is with the linker,
> > which, I'm sure, is in fact buggy as elliot points out below (b/c I've 
> > had about 1,000,000 compiles with libtool tell me so =).  
> 
> Are the object files being produced with the -fPIC -DPIC switches to GCC?
> You need them in FreeBSD to produce shareable (position-independent) code,
> since we don't use ELF (yet). Also, I've gotten the "relinking on behalf of
> you buggy system linker" messages from libtool lots of times (I believe it
> has to do with the way we do dlopen() and friends), but as long as -fPIC is
> on, that shouldn't matter.

I'm pretty sure that they are.  All of the gtk stuff is compiled this
way, and I assume (??) that when you make XFree86 in ports that these
flags are set.

--

Steve Farrell




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?873ei5ohc7.fsf>