This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Native GCC 4.9.0 Build Fails Building/Linking libgcc_s_so with Undefined Symbol


On Sun, Nov 23, 2014 at 3:43 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 23 November 2014 at 20:47, Cyd Haselton wrote:
>>
>> After make failed (again at libgcc) I navigated to the gcc dir in the
>> build folder and ran configure.
>>
>> ../../gcc-4.9.1/gcc/configure --prefix=/usr/gcc-4.9
>> --build=arm-linux-androideabi --host=arm-linux-androideabi
>> --target=arm-linux-androideabi
>> --with-build-libsubdir=/usr/gcc-4.8/sysroot/usr/lib
>> --with-native-system-header-dir=/usr/gcc-4.8/sysroot/usr/include
>> --with-build-sysroot=/usr/gcc-4.8/sysroot
>> --with-sysroot=/usr/gcc-4.8/sysroot LIBS=-ldl
>> LDFLAGS=-Wl,--dynamic-linker=/system/bin/linker
>> -L/usr/gcc-4.8/sysroot/usr/lib
>
> Have you tried not adding LIBS here?


Sorry...I misread your question...yes I have tried NOT setting LIBS in
configure and setting them in the env instead...i.e. 'export LIBS='-lc
-ldl'  with the same result.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]