rickc@pogo.GPID.TEK.COM (Rick Clements) (02/24/89)
In article <2846@udccvax1.acs.udel.EDU> don@vax1.acs.udel.EDU (Donald R Lloyd) writes: > Also, can anybody give me any advice on downloading from a Vax running > Unix onto my 128 via Kermit? I've tried to download some C stuff for > Power C (in Power-C transfer mode) but I've never been able to get it > to work. What about other types of files? What should Kermit's > defaults be set at to download ASCII or binary files? What didn't work? Did the transfer bomb? Or, did you have problems compiling? I have down loaded files from the net and gotten them to run. I ran into two problems. One, the files had to be split because they were too big. Two, Power-C isn't quite K&R standard (let-alone ANSI). Spliting the files takes a bit of work. You have to make sure that symbols can be found by all the modules. The constructs I had trouble with were: 1. typedef void's to int's 2. change unsigned int's to unsigned 3. Initialized structures have to be initialized with an code 4. blanks after the closing } of a function cause syntax erros 5. remove "static" from function definitions (This may have been a Super-C problem; I can't remember right now.) 6. if you need long's and double's, you're out of luck -- Rick Clements (RickC@pogo.GPID.TEK.COM)