[LLVMdev] Q: missing -fPIC in llvmc?

Basile STARYNKEVITCH basile at starynkevitch.net
Mon Oct 22 12:48:07 PDT 2007


Chris Lattner wrote:
> On Mon, 22 Oct 2007, Basile STARYNKEVITCH wrote:
>> On a Debian/AMD64 host I am surprised that there is apparently no way to
>> generate position independent code in shared object (i.e. to output
>> files which are easy dlopen-able without pain)?
>>
>> I probably missed something obvious, but what?
> 
> You're missing the fact that llvmc is highly experimental, and is not 
> really usable yet.  Please use llvm-gcc directly, thanks!

Yes, but I want to compile LLVM assembly language (to PIC shared object 
file on AMD64/Linux/Debian), not C.

Is llvm-gcc still needed in that case?

Regards


-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***



More information about the llvm-dev mailing list