Skip to contentSkip to conversation

GCC with glibc

DISCUSSION Luís Cargnini 2 participants 3 messages Feb 7, 2006 – Feb 12, 2006

lore
Share & tools
lore
#0 lore raw

Hi i have done the toolchain construction from scratch until the step where i compile the gcc after had did the glibc but i receiving this error message:
/opt/arm-linux/arm-linux/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/home/lvcargnini/puc/mestrado/instramed/builds/linux/b-gcc/gcc' make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/lvcargnini/puc/mestrado/instramed/builds/linux/b-gcc/gcc'
make: *** [all-gcc] Error 2
how could i solve this ???
--
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Electrical Engineer Faculty

#1 lore raw

please use --disable-shared while compiling gcc. This will solve the problem.

Vineet Tuli

Quoted 22 lines · Luís Cargnini

Hi i have done the toolchain construction from scratch until the step where i compile the gcc after had did the glibc but i receiving this error message:
/opt/arm-linux/arm-linux/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/home/lvcargnini/puc/mestrado/instramed/builds/linux/b-gcc/gcc' make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/lvcargnini/puc/mestrado/instramed/builds/linux/b-gcc/gcc'
make: *** [all-gcc] Error 2
how could i solve this ???
--
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Electrical Engineer Faculty
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

#2 lore raw

i did, but i have to do this even when compiling gcc with glibc support ?

Quoted 31 lines · Vineet Tuli

please use --disable-shared while compiling gcc. This will solve the problem.

Vineet Tuli

Quoted 22 lines · Luís Cargnini

Hi i have done the toolchain construction from scratch until the step where i compile the gcc after had did the glibc but i receiving this error message:
/opt/arm-linux/arm-linux/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/home/lvcargnini/puc/mestrado/instramed/builds/linux/b-gcc/gcc' make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/lvcargnini/puc/mestrado/instramed/builds/linux/b-gcc/gcc'
make: *** [all-gcc] Error 2
how could i solve this ???
--
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Electrical Engineer Faculty
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

--
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Electrical Engineer Faculty