Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!ukc!strath-cs!glasgow!bru-cc!eesrajm From: eesrajm@cc.brunel.ac.uk (Andrew J Michael) Newsgroups: comp.os.minix Subject: Re: gcc under MacMinix? Summary: Missing label Keywords: gcc gnu macintosh macminix minix ld Message-ID: <2089@Terra.cc.brunel.ac.uk> Date: 25 Apr 91 19:08:37 GMT References: <918@uqcspe.cs.uq.oz.au> Organization: Brunel University, Uxbridge, UK Lines: 51 In article <918@uqcspe.cs.uq.oz.au>, tonyg@cs.uq.oz.au (Tony Gedge) writes: > I've just ftp'ed the gcc binaries for ST-Minix from plains.nodak.edu. > (i.e. the pub/Minix/uk/mincen/68k/gcc ones) and I've been massaging > them to work properly under MacMinix. > > Should I be using the gccXXX.tar.Z files in pub/Minix/uk instead of those > in pub/Minix/uk/mincen/68k/gcc? Which is better? > I'm not sure about better, but I think that you'll find that the version in pub/Minix/uk is for MINIX/386, not MINIX/68k. Yes I know that it is confusing; it's just that both myself and Alan Black (who did the 386 port) come from the UK .... (Other details deleted) > > Now the big problem: > > I can recompile and link fs and mm without trouble (I'm not worrying about > padding of bss et al just yet!) however the kernel is giving me trouble. I > can recompile all the sources, however gcc-ld will not link them to produce > the final object. Make abouts with error code 256, and gcc-ld gives no > error messages about why it couldn't link. I chmem'ed gcc-ld up to 2Meg and > used 'make -n > mk; sh mk' but got the same message. > (Other things deleted) > > Thanks in advance, > > Tony Gedge. This is one of gcc-ld's nastier features; I don't know if it just applies to this port, but if it cannot reconcile a label, most of the time it will tell you so - but sometimes it just blows up with out saying why. This sounds like your problem particularly if you have just modified mpx.s. Check very carefully that you havn't got a missing or undefined label somewhere. Andy Michael -- Andy Michael "You might think that. I 85 Hawthorne Crescent couldn't possibly comment." West Drayton - `House of Cards' Middlesex email: eesrajm@brunel.ac.uk UB7 9PA or Andrew.Michael@brunel.ac.uk