Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA799 ; Sun, 07 Feb 93 19:00:42 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!sdd.hp.com!cs.utexas.edu!sun-barr!olivea!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.unix.bsd Subject: Re: GCC 2.3.3 + kernels Message-ID: <1ktgljINN5h1@life.ai.mit.edu> Date: 5 Feb 93 10:48:19 GMT References: <1993Feb4.194658.3059@drycas.club.cc.cmu.edu> Organization: /etc/organization Lines: 23 NNTP-Posting-Host: hal.ai.mit.edu In article <1993Feb4.194658.3059@drycas.club.cc.cmu.edu> root@dungeon.pc.cc.cmu.edu (System Administrator) writes: > > Can anyone tell me what the deal is with GCC 2.3.3 and kernels? I > can't get any kernels I compile with the 2.3.3 to work. ref.tfs.com > has this same problem. Anyone know why? After adding the appropriate `#pragma pack' directives and changing a few asm() constructs, I have never had a kernel compiled with GCC 2.3.3 fail for that reason. Since I use the ANSI `cpp' from GCC 2.3.3, I also needed to change a bunch of places using `/**/' to concatenate symbols to use `##' instead. These usually generate compilation errors if not done, so they're obvious. I will take a look at the code on ref. -- \ / Charles Hannum, mycroft@ai.mit.edu /\ \ PGP public key available on request. MIME, AMS, NextMail accepted. Scheme White heterosexual atheist male (WHAM) pride!