Displaying 3 results from an estimated 3 matches for "2099b8949ecdc7b9705c423e43d0f9c7".
2010 Jan 17
0
[LLVMdev] LLVM-gcc for ARM
> llvm-gcc a.c
> Assembler messages:
> Fatal error: Invalid -march= option: `armv7-a'
>
> Any ideas?
It is probably trying to use the wrong assembler. Run with -v and check.
>
> Thank you,
> Corina
>
Cheers,
--
Rafael Ávila de Espíndola
2010 Jan 17
2
[LLVMdev] LLVM-gcc for ARM
...n/../lib/gcc/arm-elf/4.2.1/include
End of search list.
GNU C version 4.2.1 (Based on Apple Inc. build 5649) (LLVM build) (arm-elf)
compiled by GNU C version 4.2.4 (Ubuntu 4.2.4-1ubuntu4).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=131072
Compiler executable checksum: 2099b8949ecdc7b9705c423e43d0f9c7
a.c:1:19: error: stdio.h: No such file or directory
a.c: In function ‘main’:
a.c:4: warning: incompatible implicit declaration of built-in function ‘printf’
Why those directories doesn't exist?
Thanks for your help,
Corina.
P.S. I will recompile and run -v to see which version of assembler i...
2010 Jan 17
2
[LLVMdev] LLVM-gcc for ARM
I recompiled the LLVM-gcc with these options:
.../llvm-gcc4.2-2.6.source/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/home/LLVM/llvm-2.6/ --enable-languages=c --disable-libssp --with-gnu-ld --with-gnu-as --with-arch=armv7-a --target=arm-elf
It compiles successfuly.
make install.
But when compiling a file :
llvm-gcc a.c
Assembler messages:
Fatal error: Invalid