Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2006 04:30:25 +0100 (CET)
From:      <pfgshield-freebsd@yahoo.com>
To:        Kris Kennaway <kris@obsecurity.org>, Marcel Moolenaar <marcel@xcllnt.net>,  ports@freebsd.org
Subject:   Re: amd64 and -fPIC
Message-ID:  <20060308033025.16575.qmail@web32701.mail.mud.yahoo.com>
In-Reply-To: <20060307232240.GA15044@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks for the explanation Marcel !

Hmm...I'm actually glad that i386 with threads now has this problem too ;).

--- Kris Kennaway <kris@obsecurity.org> ha scritto: 
...

> > 
> >     Ok, is there a compromise? Someone mentioned installing both PDC and
> >     PIC versions under different names.
> 
> Yes, that would be fine (libfoo.a and libfoo_pic.a are the usual
> conventions).
> 

I am actually a LOT lazier...in fact this would make a mess building calculix
and tochnog (with the shared version of ATLAS). I want to be able to build with
pic or without pic. Something like this in bsd.port.mk

.ifdef WITH_PIC
CFLAGS += -fPIC
FFLAGS += -fPIC
.endif

So I just add WITH_PIC=yes to the ports that need it.

cheers,

    Pedro.


		
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



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