Date: Sun, 28 Nov 2004 11:37:11 +0200 From: "dkouroun@mailbox.gr" <dkouroun@mailbox.gr> To: freebsd-questions@freebsd.org Subject: installing gcc in 5.3 Release Message-ID: <200411280937.LAA19042@mailbox.gr>
next in thread | raw e-mail | index | archive | help
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 σας!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411280937.LAA19042>