Clang on Raspberry Pi/Raspbian Linker Error? - Raspberry Pi Forums


when try run clang c compiler error (i think linker error):

compilation started @ sun nov 11 14:34:55

make -k
clang -std=c99 -ggdb -o0 -wall -werror helloworld.c -o helloworld
clang: warning: unknown platform, assuming -mfloat-abi=soft
/usr/bin/ld: cannot find crt1.o: no such file or directory
/usr/bin/ld: cannot find crti.o: no such file or directory
clang: error: linker command failed exit code 1 (use -v see invocation)
make: *** [helloworld] error 1

compilation exited abnormally code 2 @ sun nov 11 14:34:56

re-installed raspbian image thinking problem go away persists. raspbian version latest raspbian wheezy hard float abi (2012-10-28).

doing google search posting bug report on raspbian bugs board, looks known bug, not find easy work-around. compiling clang 3.1 source see if solves problem.

suggestions or input?

i've seen issue before in plain debian, supposedly fixed.

have head out i'll try , looked , new bug filed in debian if appropriate.


raspberrypi



Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums