Native GCC 4.9.0 Build Fails Building/Linking libgcc_s_so with Undefined Symbol
Jonathan Wakely
jwakely.gcc@gmail.com
Sun Nov 23 21:43:00 GMT 2014
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?
More information about the Gcc-help
mailing list