Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ames!decwrl!sdd.hp.com!samsung!munnari.oz.au!metro!ipso!runxtsa!brucee From: brucee@runxtsa.runx.oz.au (Bruce Evans) Newsgroups: comp.os.minix Subject: Re: Shoelace 1.0a and Bcc (32-bits) Message-ID: <2088@runxtsa.runx.oz.au> Date: 3 Aug 90 16:44:46 GMT References: <26466@nigel.udel.EDU> Organization: RUNX Unix Timeshare. Sydney, Australia. Lines: 30 In article <26466@nigel.udel.EDU> andrew@eleceng.bradford.ac.uk (Andrew G. Minter) writes: >I've now running in 32-bit mode and am trying to rebuild shoelace with bcc. >The trouble is that bcc seems to generate code which is a little larger that >that produced by ACK. This means that winiboot is too big by 122 bytes. Has >anyone seen this problem before? Any solutions? Use ACK cc and asld to build winiboot and bootlace. Use ACK cc or bcc -0 to build shoelace. Use any cc to build a native laceup. >Another little problem: I can no longer run the original Minix cpp, so how >do I preprocess the .x files in the kernel? Right now I've kludged up a The Decus cpp posted the other day is probably OK. There is a cpp in the archives (I think the same one) ported by Andrew Cagney mainly to compile Minix under DOS. I use gnu cpp. This can be compiled with bcc after changing one function to get around bcc's limit of no structure parameter passing/return. You also have to split up writes to get around Minix's limit of writing only 7K to pipes. Finally, it is usually best to give cpp the `-traditional' flag. I do this by normally executing /lib/cpp which is exec /usr/local/bin/cpp -traditional $* where the real cpp is in /usr/local/bin. This flag must be given to cppmake too. -- Bruce Evans Internet: brucee@runxtsa.runx.oz.au UUCP: uunet!runxtsa.runx.oz.au!brucee (My other address (evans@ditsyda.oz.au) no longer works)