[Ubuntu] Older gcc Version
Hello,
i wanted the gcc 4.2.0 version so i downloaded them and extract with tar -vjxd gcc-4.2.0.tar.bz2 i get 2 folder gcc-build und gcc-4.2.0 i follow this instruction http://claywood.lowtech.org/lifesaver.htm and this instruction: http://www.linuxquestions.org/questi...ersion-190686/ By the second i get this error: Code:
../.././gcc/crtstuff.c:348: error: expected â{â at end of input Code:
/bin/sh ../../gcc-4.2.0/gcc/../move-if-change tmp-macro_list macro_list |
Welcome to LQ.
Which Ubuntu version ? AFAIK, old gcc is more than difficult to build on the 3 latest versions. And : The two links you show are dated year 2004 : Not valid for gcc-4.2.0. . |
Thank you for your answer i thinked that the tutorials for every gcc version and the ubuntu version that i have is
Ubuntu 12.04 LTS |
A 32bits OS ?
The command : 'uname -m' will show. ( I have some .deb packages, gcc / g++ version 4.1.2, 32bits (i386) made on Ubuntu 11.04, modified to 12.04, may be you can use those ? ) |
i686 im a newbie in Linux i only want gcc version 4.2.0 :D
EDIT: I want 4.2.0 becaue the Unity Masterserver (Unity is a game engine), and i read that i can compiled them only with 4.2.0 because of RakNet 3.0 |
How about gcc version 4.2.4 ?
That's a bug fix version of 4.2.0 |
Ok i can test it how i get this? And install
./configure make make install ??? |
Please provide a direct download link to "Unity Masterserver".
And the name of the file you have downloaded. There can be used no ./configure in gcc. GCC requires a build folder outside the source folder gcc-4.2.x/. Code:
../gcc-4.2.4/configure --prefix=/usr --program-suffix=-4.2 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ . |
Here you can download the Masterserver: http://www.unity3d.com/master-server/index.html
Quote:
|
OK, MasterServer-2.0.1f1 :
sudo apt-get install g++-4.4 Please edit the MasterServer-2.0.1f1/Makefile, line 4 to : CC=g++-4.4 ... and run 'make' : The executable file 'MasterServer' gets created within a few seconds. . |
Ok Thank you i get a Masterserver file :D Yet i have one question, i think this question is stupid but iam a newbie, how i can start/open the file?
Ok i open this with ./MasterServer Thank you for your time :D |
All times are GMT -5. The time now is 12:54 PM. |