Skip to main content

Thread: Installing C compiler


hi,

trying compile c program in linuxmint 10. getting error below whenever try compile:
simple hello world program.


ch@linuxmint ~ $ gcc a.c
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

can pls tell me solution.

quote posted chaituchill view post
hi,

trying compile c program in linuxmint 10. getting error below whenever try compile:
simple hello world program.


ch@linuxmint ~ $ gcc a.c
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

can pls tell me solution.



code:
sudo apt-get install build-essential
but mint questions better on mint forum if no luck here.


Forum The Ubuntu Forum Community Other Discussion and Support Other OS Support and Projects Other Operating Systems Any Other OS Installing C compiler


Ubuntu

Comments

Popular posts from this blog

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support