[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem to compile gnustep-base on android
From: |
Richard Frith-Macdonald |
Subject: |
Re: Problem to compile gnustep-base on android |
Date: |
Sat, 26 Sep 2015 07:50:39 +0100 |
> On 26 Sep 2015, at 07:28, Germán Arias <germanandre@gmx.es> wrote:
>
> El vie, 25-09-2015 a las 21:27 -0600, Germán Arias escribió:
>> First I'm using libobjc2 from github repository. Also I'm using an arm
>> toolchain with clang 3.6 (ndk r10e). And, after applied the changes
>> suggested by Ivan, I get this error when try to link the subproject
>> Additions:
>>
>> Linking subproject Additions ...
>> /home/german/Instalados/android-toolchains/my-android-toolchain/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
>> fatal error: -pie and -r are incompatible
>> clang36: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> make[4]: *** [obj/subproject.o] Error 1
>> make[3]: *** [internal-subproject-all_] Error 2
>> make[2]: *** [Additions.all.subproject.variables] Error 2
>> make[1]: *** [internal-all] Error 2
>> make: *** [internal-all] Error 2
>>
>> Any suggestion?
>>
>> Thanks
>> Germán
>
> Where should be added the -v option to see the invocations?
I’d start by using messages=yes to see the invocation of clang by the make
system.
If you look at how clang is being invoked, you might get a clue as to where
adding the -v might get clang to tell you what it’s doing.
In the absence of any concrete knowledge about it (and without bothering to
read any online help about clang), I’d probably try the -v in the command line
iimmediately after 'clang'