lawsonse@vttcf.cc.vt.edu (Shannon Lawson) (04/06/91)
Some students are trying to use Manx V5.0d to compile some benchmark programs that compiled with Turbo C on the Mac and IBM. This is good ol' K&R-type (non-ANSI) C code. No function prototyping, etc. The students want to compile the code and run it to compare execution time against the Mac and IBM code. It's all standard C, so there's no system-dependent stuff. I just got the compiler about a week ago, so I haven't had time to mess with it very much. The guys I'm loaning the compiler to have never used an Amiga in their lives. What fun this is going to be! Anyway, I told them I would try to compile the code for them. After all, how hard can it be? :-) OK, so it isn't going smoothly. I found the "-k" switch to enable K&R-type compilation. I borrowed a makefile to help with the compiler options, but I keep getting a ".o" file that looks a lot like the ".pro" file I got before enabling the "-k" option. When the linker hits that ".o" file, it tells me that it's not an object file and bombs out. What's in the ".o" file? I looks like ANSI function prototypes. Welcome to "What the heck's going on here?" Any ideas on how to get this code to compile nicely? Please reply promptly, as these guys need to get their project completed soon. Thanks in advance! (I HATE that phrase, but...) -- Shannon Lawson || Amiga Student on Campus Consultant Senior, Computer Engineering || Virginia Polytechnic Institute Harry Lynde Bradley Department of || & State University Electrical Engineering || E-Mail: lawsons@csgrad.cs.vt.edu Disclaimer: If I put my foot in my mouth, I can hardly hold someone else responsible, now can I?