Re: Mbuni CVS & Kannel 1.4.1
"Vincent CHAVANIS" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <093701c6f9a5$a85b8cd0$9600a8c0@vince> |
Got some infos here :
http://lists.debian.org/debian-mentors/2002/03/msg00165.html
<--------
> Is it valid to compile an executable with -fPIC?
> Can anyone tell me which architectures require -fPIC?
In general, you need to compile everything that could be mapped at
arbitrary addresses (in the process's virtual address space) with the
-fPIC option to make it position independent (whatever that means for the
target platform). Programs are loaded at a fixed address (for i386 Linux,
this is somewhere around 0x80000000), so they needn't be compiled with
-fPIC, while shared libraries can be mapped to different addresses in
different processes and thus need -fPIC. Static libraries are collections
of .o files, also called relocatable objects, which are not position
independent, but contain the information how to move them to a specified
position ("relocate", which basically means adding the start address to
all pointers). Thus, they don't need -fPIC either.
-------->
Vincent
--
Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
Service Technique/Reseau - NOC
Developpement SMS/MMS/Kiosques
http://www.telemaque.fr/
[email protected]
Tel : +33 4 92 90 99 84 (fax 9142)
----- Original Message -----
From: "Stipe Tolj" <[email protected]>
To: "Vincent CHAVANIS" <[email protected]>
Cc: <[email protected]>
Sent: Friday, October 27, 2006 3:23 AM
Subject: Re: Mbuni CVS & Kannel 1.4.1
> Vincent CHAVANIS wrote:
>
>> I'm not familiar with configure macro.
>> But would be great to enable fPIC when it's available.
>> because mbuni does not support non-pic kannel compiled binaries when
>> using X86_64
>
> -fPIC is system dependant?
>
> we need to take care of it if it is.
>
> Stipe
>
> -------------------------------------------------------------------
> Kölner Landstrasse 419
> 40589 Düsseldorf, NRW, Germany
>
> tolj.org system architecture Kannel Software Foundation (KSF)
> http://www.tolj.org/ http://www.kannel.org/
>
> mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
> -------------------------------------------------------------------
>