Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!mailrus!um-math!hyc From: hyc@math.lsa.umich.edu (Howard Chu) Newsgroups: comp.os.minix Subject: Re: HELP!! I can't build w/ ST-MINIX. Message-ID: <504@stag.math.lsa.umich.edu> Date: 6 Dec 88 02:30:34 GMT References: <3708@druwy.ATT.COM> Sender: usenet@math.lsa.umich.edu Reply-To: hyc@math.lsa.umich.edu (Howard Chu) Distribution: comp Organization: University of Michigan Math Dept., Ann Arbor Lines: 40 UUCP-Path: {mailrus,umix}!um-math!hyc In article <3708@druwy.ATT.COM> med@druwy.ATT.COM (Myron Drapal) writes: %I really need someone to help me out. I'm having trouble building %(any) program with ST-MINIX. I tried to port ARC 5.12 with no %luck (/usr/lib/cv, during the link step, gets a segmentation %violation, always at the same place, regardless of what is to %be loaded). I suspected that it was my problem, so I tried to %build the test programs under /usr/src/test, and guess what? Same %problem. I really don't know where to look next (I have the kernel %dump, but really don't know where to go from here). % You probably need the new version of cv, which was posted November 17. The original version couldn't handle more than 32K of relocation info. Unless ACK is smart enough to use PC relative branching instructions, it's probably getting too much reloc info for ARC. As a side note, ARC 5.21 is already running on ST-Minix, so you probably shouldn't be wasting your time with 5.12. %On a similar note, would it be possible to post at least a shortened %version of the manual page entries for the ACK stuff. It's really %difficult to isolate problems like this one without knowing what %the flags to ld mean, for instance: % Good point. Not having full docs is one reason I really dislike using the ACK stuff... %And ld seemed to work fine, but what I got didn't seem to be an executable. % If you read thru the ST docs, you'll note that the linker produces object files for a different system. You need cv to ConVert the object files to Minix a.out files before you'll get anything executable. If you have the memory to spare, you're better off with gcc. It produces better code, and it comes with full source and documentation... -- / /_ , ,_. Howard Chu / /(_/(__ University of Michigan / Computing Center College of LS&A ' Unix Project Information Systems