Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!gatech!emory!tackle!irbs!jc From: jc@irbs.UUCP (John Capo) Newsgroups: comp.os.386bsd.questions Subject: Re: how do I build a kernel with gcc-2.4.5 Message-ID: <510@irbs.UUCP> Date: 24 Jul 93 16:30:56 GMT References: <RAM.93Jul21221352@xor.epi.wisc.edu> Organization: Irbs Engineering Lines: 22 In article <RAM.93Jul21221352@xor.epi.wisc.edu> you write: > >I guess the subject line says it all. > >I build gcc-2.4.5 from scratch using these compile/configure flags: > >./configure --target=i386-ibm-bsd --prefix=/tools/gcc > >Is that correct? Also do I need to get and special libraried to work >with gcc or should the libraries that come with NetBSD-0.8 work? > >When I do build the kernel I get something that constantly reboots. > I have not looked into why yet, but building machdep.o with cc and everything else with gcc-2.4.5 makes a kernel that will boot. gcc-2.4.5 spits out lots of warnings especially about the system call interface where args are declared as structures in the function argument list. Anyone have new ways to do this so gcc-2.4.5 won't complain as much? Anyone ansi-fied the kernel sources? --- jcapo@netcom.com