garfield@sunspot.noao.edu (Brian Armstrong) (02/27/90)
In article <2470@ektools.UUCP> you write: >As many established OS-9 types already know, the C Compiler as shipped >from Radio S. comes as two floppys. I installed the first floppy >on my hard drive and tried to compile a C program. I got all of >the way down to the linker then I bombed as I have no /D1 (or plans >to buy one). Is there a way to fool the compiler to believe the >hard disk /H0 is /D1? Does this require a modification to the >linker? (I tried to build a hard disk driver called /D1 with >ddmaker and this configuration did not even let OS-9 boot up). > > Jeff Fall I don't know about your previous problems with the B&B hard disk systems, as I don't have one myself. If do know though that sometimes the ORDER of files in the OS9Boot file made by os9gen affects how the system works. You may want to hand-edit an input file to feed to os9gen to make a new bootable disk. On /t2, you may need the IRQ hack to make the port behave properly. The C compiler needs TWO of its files hacked. These are c.link and c.pass1, I think. (I'm not sure about the second one.) Basically, they have '/d1' hardcoded into them to look for the libraries needed on drive /d1. The best source of information on all this stuff is the listserver at: listserv@pucc.princeton.edu Just mail to this address a line consisting of: subscribe coco and that will put you in touch with people and archives. The list has a large OS-9 section which you can see by sending: index os9 to the above address. They have docs on the C compiler fixes necessary, as well as gobs of other great stuff I'm sure you'll find useful. Try it out! Brian Armstrong, National Solar Observatory Sunspot, New Mexico 88349