Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!rpi!batcomputer!cornell!vax5.cit.cornell.edu!h9by From: h9by@vax5.cit.cornell.edu Newsgroups: comp.os.minix Subject: GCC for MacMinix (almost) Message-ID: <1990Dec5.013842.1369@vax5.cit.cornell.edu> Date: 5 Dec 90 05:38:42 GMT Distribution: comp Lines: 21 I just downloaded the binaries for gcc (gcc, gcc-ar, gcc-as, gcc-ld, gcc-nm, gcc-cc1, gcc-cpp) and the libraries (libc.a, et al). When I compiled a simple program it did not work (said I had a missing __main()--double underscore). So I stuck in a _main() that just called my main(). Then it would run and not exit so I stuck an explicit exit() in my _main(). Now everything ran. Until...I made explicit references to stderr, stdin, and stdout. Then gcc told me that my _iob[] is not found anywhere. Am I missing a lib or startup object file? Why am I having so many problems? I have head.o, crtso.o, wioclt.o, and _fakfls.o. They don't make any difference (in fact they produce more unsupported references). BTW, I am using Bammi's ST version of gcc on my MacMinix. I just downloaded the binaries and ran and it seemed to work. I am so close now that I know I must be 1) doing something wrong, 2) missing a file. Thanks for the help. --Tanvir Hassan (h9by@vax5.cit.cornell.edu OR tanvir@oak.cadif.cornell.edu)