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

Bug#850191: Can not cross compile to arm from x86



Package: gcc-6-arm-linux-gnueabihf
Version: 6.2.1-5cross1

Trying to cross compile a simple helloworld application on 32 bit x86
with this command:

arm-linux-gnueabihf-gcc-6 hello.c -o hello

fails with the following error message:

/usr/lib/gcc-cross/arm-linux-gnueabihf/6/libgcc.a: file not
recognized: File format not recognized
collect2: error: ld returned 1 exit status

Thanks,


Reply to: