Subject: how can I install gcc 2.95.2 with shared libs ?
To: None <netbsd-help@netbsd.org>
From: Gerald Siebke <gerald@lucky.turbocat.de>
List: netbsd-help
Date: 09/19/2000 13:50:41
<nofill>How can I install gcc 2.95.2 with creating shared  runtime libs 
on an i386 with NetBSD 1.5.ALPHA

	libobjc.so				and so on..... ?

I have unpacked the sources from the gcc-2.95.2.tar.gz file,
</nofill>and inserted all the available patches from
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/lang/gcc/patches/ .

<nofill>
Now I called  

../gcc-2.95.2/configure  --enable-shared
gnumake
cd gcc ,  gnumake stage 1 , cd ..
gnumake CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2"
gnumake install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2"

and only static libs such as libobjc.a  are created no shared libs !!!

Any idea ???


Gerald</nofill>