CompuServe Messages

gnu help needed

    02-Mar-95 16:01:31
Sb: gnu help needed
Fm: Daniel J. Wolfson 74673,1401
To: All
I was wondering if somebody might be able to help me. I recently downloaded all of the gnu C, C++, and Objective C files in the Library (took me almost 2 hours!!). Anyway, I am having some probems. First, I wrote the infamous "Hello World" program just to verify evrything would work. Well, it didn't. I discovered that the stdio.h header file wasn't included in the archives. I found a copy of stdio.h from an old Lattice C compiler I have (version 3 I think) and tried compiling with that. I then got parser errors in several lines of the stdio.h file. I edited out some spaces on those lines (that seemed to be the common denominator in the lines that had errors) and that now seems to work OK. I can't confirm that because the program still does not fully compile. I now get the following error: ld: No such file or directory for crt0.o I believe that crt0.o is needed for compiling anything but I have confirmed that it was not included in ANY of the 13 or so files I downloaded. I have a c.o in my Lattice C compiler which I think serves the same function, but it doesn't seem to work with the gnu compiler. The documents seem to be very sparse on how to set this up initially. How and where do I get the necessary files that I don't seem to have? Thanks in advance for your help.. Dan Wolfson