Ragu
Ragu

Reputation: 97

Gcc default version crashes

I working on open source GHDL project for my project purpose installed ghdl-0.29-2.143svn.4.fc16.src.rpm consisting of ghdl 0.29 and gcc 4.3.4 through rpm -i and rpmbuild -ba command successfully.

In ghdl folder, I edited one ada program then I did make and make install : no errors but it creates problem changes in gcc version 4.6.3 (default) to 4.3.4 and no gcc program execution gave error:

error: C compiler cannot create executables
See `config.log' for more details." 
In config.log file /usr/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

Thanks in advance

Regards Raghu

Upvotes: 2

Views: 683

Answers (1)

gaganbm
gaganbm

Reputation: 2843

Have you tried reinstalling glibc? That might work.

Upvotes: 1

Related Questions