Re: Wolk 4.9 smp cpu detection and initialization problems

Marcel de Riedmatten <[email protected]>
Newsgroups gmane.linux.wolk.devel
Message-ID <1063787884.6555.231.camel@galadriel>
Le mar 16/09/2003 à 23:18, Olaf Unterkofler a écrit :
> Hi Marc,
> 
> 
> On Tue, 16 Sep 2003, Marc-Christian Petersen wrote:
> 
> > please use gcc 3.2.3 or even better: 2.95.4.
> > I won't support any gcc 3.3.x compilers yet. I can't count the problems I had
> > with gcc 3.3.x with kernels so I gave up and use 2.95.4 and sometimes 3.2.3
> > again.
> 
> Is it realy that bad ? The whole SuSE 8.2 system is compiled with GCC 3.3.
> If I move back I'm to older versions I'm think it might cause quite a few
> problems.
> Hmmm ..... I'll try to install a gcc 3.2.3 in the next few days.

Hi Olaf

I have many gcc version on my machine. What i do:


0) cd objdir
1) ../gcc-3.2.3/configure --prefix=/usr/local/gcc-3.2.3
2) make bootstrap
3) su
4) make install
5) ln -s /usr/local/gcc-3.2.3/bin/gcc  /usr/gcc-3.2.3


After that i just have to add 2 include files to the kernel include


cp
/usr/local/gcc-3.2.3/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdarg.h linux-2.4.20/include
cp
/usr/local/gcc-3.2.3/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stddef.h linux-2.4.20/include


Then i edit the main kernel Makefile for 

HOSTCC          = gcc-3.2.3

and 

CC              = $(CROSS_COMPILE)gcc-3.2.3


and it works

Bye

-- 
Marcel de Riedmatten
pgp key: CFE703CA http://ftp.dotforge.ch/pub/users/mdr/mdr.gpg.asc
Empreinte: 4687 F9CB D8E2 AC1A B806  F812 C048 0875 CFE7 03CA
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/aB1rwEgIdc/nA8oRAj82AJ9tLC9M7FFQG/CadYT5Vo3bpQMd5wCdF6XU
dOwx0vTx4iFxSC+6XVrrGQc=
=LGwH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.