discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problem to compile gnustep-base on android


From: David Chisnall
Subject: Re: Problem to compile gnustep-base on android
Date: Sun, 27 Sep 2015 11:14:27 +0100

On 26 Sep 2015, at 23:37, Germán Arias <germanandre@gmx.es> wrote:
> 
> What is the difference between -r and -pie?

-r means do linking, but don’t expect the result to be a complete binary 
(partial link).
-pie means generate a position-independent executable.

Obviously, these are incompatible, because -pie only makes sense when emitting 
the final binary, and -r only makes sense when not emitting the final binary.

> Will this works if -r option is removed?

No, -r is required.  It might be possible to add -no-pie on the end of the 
linker command list though.  Please file a clang driver bug for this - the 
clang driver should not be emitting -pie when -r is specified.

David

-- Sent from my IBM 1620




reply via email to

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