Bug#480203: gcc doesn't compile anything on arm
> > kotoko720:~# uname -a
> > Linux kotoko720 2.6.21-hh14-128M #44 PREEMPT Sat Sep 22 20:04:17 CEST 2007 armv5tel GNU/Linux
>
> This is not a Debian kernel. Does this also happen with other gcc versions and
> other distros? I rather suspect a kernel or hardware problem.
other gcc versions have
kotoko720:~# gcc-4.2 test.c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
kotoko720:~# gcc-4.1 test.c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
(this bug feels like libc-dev bug or some unsynhronised things with ld and libc-dev)
but gcc 4.3 don't want even compile this
kotoko720:~# gcc-4.3 -c test.c
test.c: In function 'main':
test.c:7: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
also, there is no other distro and no other kernel for my device.
Reply to: