Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!rice!uw-beaver!ssc-vax!cxsea!young From: young@cxsea.UUCP (Gary Young) Newsgroups: comp.os.minix Subject: re: Cross Compiling under TurboC Keywords: minix TurboC Message-ID: <2637@cxsea.UUCP> Date: 23 Mar 89 18:11:29 GMT Organization: Computer X Inc. Lines: 70 I am posting this to the net, as it may be of interest to others like myself, who are casual readers of the news group. In reply to your email: >> Subject: Re: Cross Compiling under TurboC >> >> Gary, I am attacking MINIX with Turbo C as several others are judging >> by recent comp.minix articles. My goal is to get minix up on my COMPAQ >> SLT-286. Right now I'm sitting with just the nine 5 1/4" floppies that >> came with the MINIX book and a 3 1/2" drive in my COMPAQ. >> >> How did you get the sources into DOS format? >> >> - Roger Frank >> Sun Microsystems, Inc. >> To get the sources to DOS you need to be able to run minix from the boot disk. Therefore, you should find someone with a MSDOS machine with 5 1/4" floppies. In minix, per the book, you can then use the 'doswrite' command to transfer files to MSDOS disks. It is fastest if you use 'tar' to combine lots of files into one, as the 'doswrite' is very slow at creating files. That means that you need a version of tar for the MSDOS. There are a number of public domain ones. I use one I got off the net. Next you have to transport the 5 1/4" MSDOS files to 3 1/2" disks. Some machines have both and you just copy. I use 'mskermit', from the net, to transfer using the serial ports between a machine with 5 1/4" disks and one with 3 1/2" disks. Now you have the source on MSDOS with 3 1/2" disks. The next part, I must admit, I have not yet done. That is to build a minix system on the Turbo C system. I have built commands and used the minix 'dosread' to transport them, and they have run. The part that I haven't done is to create the boot module and get it on a bootable disk. I am sure that you could do it with the Norton utilities to write absolute sectors, or you could write a program to do it. I don't remember if there is a MSDOS tool with the minix stuff to do it. Sorry that this is such a RueGoldburg, but it is the method that I intend to use. I have a pc clone with 5 1/4" disks, and hard drive, and a Toshiba 1000 lap top with 3 1/5" drives. I intend to get minix working on the Toshiba from the 5 1/4" distribution minix disks, as you want to do. I will not be at this address much longer, but you can call or write me at home: Gary H. Young 21225 N.E. 12th Street Redmond, Wa. 98053 206-868-1458 voice 206-868-0671 bulletin board (sometimes, still experimental) If I get the boot module built, I could post it to the download area of the bulletin board. The source is copyright by P.H., so I could not make that available. /* Programming is a series of discoveries leading you from one plateau of understanding to another ... the trick is not Gary H. Young to step in the stuff between cxsea!young (cXnet) the plateaus */ (206) 251-6804 voice /* "The nice thing about standards is that there are so many to choose from." Andrew S. Tanenbaum. */ -- Gary H. Young young@cxsea.UUCP ...{mnetor,uw-beaver!ssc-vax}!cxsea!young +1 206 251 6098 Motorola Computer X Inc. - a Motorola New Enterprise company