Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!haven!mimsy!jds From: jds@mimsy.UUCP (James da Silva) Newsgroups: comp.os.minix Subject: Re: D1.2-1.3 -- Act II Message-ID: <14752@mimsy.UUCP> Date: 30 Nov 88 00:54:13 GMT References: <5718@louie.udel.EDU> Reply-To: jds@mimsy.umd.edu (James da Silva) Organization: University of Maryland, Department of Computer Science Lines: 39 In article <5718@louie.udel.EDU> jnall%FSU.BITNET@CORNELLC.CIT.CORNELL.EDU (John Nall 904-644-5241) writes: > >SO...any suggestions on the unsatisfied externals and no room on RAM disk? >I spent fifteen years as a systems programmer (on Control Data systems) >and don't mind the learning experience, but it takes a while to get >all the details down. I think all your external reference problems stem from improper ordering of libc.a. Andy Tanenbaum just posted the ordering he uses, so if you use that you should be ok. lib/run was a neat hack at the time it was posted, but isn't adequate for any real work. Getting the library right is probably the biggest pain for people working with Minix; except, of course, for those people who have to wrestle with hardware compatibility problems (ok, everyone; sit down already! :-) As for the lack of room on the RAM disk, add '-T.' to the CFLAGS line in the commands makefile. This tells the compiler to use the current directory for temporary files. In fact, you're better off not even using the commands makefile. Just write a shell script something like this: for i in $* do j=`basename $i .c` echo $i cc -T. -Di8088 -o bin/$j $i chmem =3072 bin/$j >/dev/null done That was off the top of my head, so it may not be exactly right. This is faster than using make because without make in memory, there's enough room to run the cpp and the first compiler pass in parallel, with a pipe. Make needs to give cc the '-F' flag, which instructs cc to run the passes one at a time, using a temporary file. Jaime ........................................................................... : domain: jds@mimsy.umd.edu James da Silva : path: uunet!mimsy!jds