installing gcc in 5.3 Release

dkouroun at mailbox.gr dkouroun at mailbox.gr
Sun Nov 28 01:36:09 PST 2004


Dear Fellows,
I have installed FreeBSD 5.3 Release!
I tried to run an executable from Linux. 
In linux this files takes: 3442 milliseconds to run. //g++-3.4.3
In freebsd it needs      : 5992 milliseconds to run. 

So I tried to recompile the file in freebsd 
and it also needed 5992 milliseconds to run.
But it was compiled with the native compiler g++-3.4.2 of freebsd 5.3.
So I decided to install from source gcc-3.4.3 in /usr/local in FreeBSD.
This is something which is a routine since I have done it millions of times in Linux! The commands I used are the following:

#cd /usr/local
#mkdir GCC-3.4.3
#tar xvjf gcc-3.4.3.tar.bz2
#cd GCC-3.4.3
# ../gcc-3.4.3/configure --prefix=/usr/local/GCC-3.4.3/ --program-suffix=-3.4.3 --enable-languages=c,c++,f77

This was complited without any problems!!!
The build command though,

#make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean

broke when the program was trying to run 
byacc. The error message showed that it didn't recognized 
byacc --something! It reported:
error, usage: yacc .....

So I think that byacc has different syntax in freebsd! 

Does anybody know how to fix that?

Thanks in advance!
Drosos.




_____________________________________________________________________________________
http://www.mailbox.gr ÁðïêôÞóôå äùñåÜí ôï ìïíáäéêü óáò e-mail.
http://www.thesuperweb.gr Website ìå ÁóöáëÝò Controlpanel áðü 6 Euro êáé äþñï ôï domain óáò!


More information about the freebsd-questions mailing list