*BSD News Article 2708


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!news.cs.indiana.edu!rsg1.er.usgs.gov!ukma!news
From: soward@slow.inslab.uky.edu (John Soward)
Newsgroups: comp.unix.bsd
Subject: Re: 386BSD: Anyone using gcc-2.x on 0.1?
Message-ID: <1992Jul29.172744.1118@ms.uky.edu>
Date: 29 Jul 92 17:27:44 GMT
Article-I.D.: ms.1992Jul29.172744.1118
References: <1992Jul29.155631.21213@thyme.jpl.nasa.gov>
Sender: news@ms.uky.edu (USENET News System)
Organization: University Of Kentucky, Dept. of Math Sciences
Lines: 33
Nntp-Posting-Host: slow.inslab.uky.edu

Kaleb Keithley writes
-> While working my way around the system, I discovered that the version
-> of gcc shipped in 0.1 is 1.39, at least as reported by 'gcc -v'.
-> 
-> I'm highly interested in moving to the latest version of gcc-2.x,
-> (currently 2.2.2) because:
-> 
-> a) I'd like to take advantage of it's ability to emit 486 specific
->    code (instruction scheduling, primarily)
-> 
-> b) Its ability to emit PIC (Position Independent Code) seems to be
->    a pre-requisite for shared libraries.
-> 
-> Has anyone else "bootstrapped" up to 2.2.2 yet?  Has anyone who
-> has, rebuilt the kernel with it yet?  Does anyone have any reasons
-> why this might not be a good idea?
-> 
-> I'll be trying it anyway -- I've got nothing to loose, the worst thing
-> that could happen is I'd have to reload a few disks :-)
-> 

I tried to compile it (gcc2.2.2) but ran into a snag...then I found the  
binaries and patches on sonata.cc.purdue.edu...these seem to work...
I am currently trying to re-compile the Kernel with it...A few cahnges need to  
be made it looks like...I am currently stuck on src/i386/isa/npx.c:129
with: " impossible register constraint in `asm' " but I'm sure it's just some  
slight change from 1.39...

--
    ________________________________________________________________________
   /   'The midnight sun will burn you up" -The Cure, Piggy in the Mirror  /
  /      soward@ms.uky.edu | soward@slow.inslab.uky.edu (NeXT Mail)       /
 /_______________________________________________________________________/