From: "Ben Cluff" Newsgroups: comp.os.msdos.djgpp Subject: Re: building exe's Date: Sun, 24 Jan 1999 16:54:03 -0800 Organization: Sonic,Santa Rosa CA,http://www.sonic.net Lines: 25 Message-ID: <78gfdm$nvl$1@ultra.sonic.net> References: NNTP-Posting-Host: d62.nas22.sonic.net X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com +++++ I have been programming for one week, though I think I have your answer. This makes me feel good that I can answer a question already. I do recommend reading the FAQ is is suggested in the DJGPP readme, and also picking up a book. Here is what I know. All C++ programs need to have the function -- int main(), You cannot rename this and it also has to be the first. I am not sure if this applies to C as well. I am sure it may. This is a no brainer if you have read the first 2 chapters of any book or FAQ. If this is your problem or not I don't know. But this is what I know... and hey here is a good tutorial site! http://www.muppetlabs.com/library/tech/tutorials.html Hope you have success. Ben a.k.a. Psyllo +++++ Gvalley40 AT aol DOT com wrote in message ... >i'm using djgpp and rhide and when i try and build a project it compiles the >c file into a .o file with no problems but it never builds an exe. >It say's error messages like undefined reference to main and undefined >reference to various other things can you help please?