From: "J. L." Newsgroups: comp.os.msdos.djgpp Subject: (RHIDE) Things to be added in projects Date: Wed, 22 Jan 2003 10:39:05 -0600 Lines: 33 Message-ID: NNTP-Posting-Host: 200.34.143.30 X-Trace: fu-berlin.de 1043253562 28004021 200.34.143.30 (16 [143309]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ray Andrews wrote: >Hi all, >This is my first time posting here, so I hope I get thru: Welcome. Please, try to add a descriptive subject to yours posts. >I installed DJGPP the other day, and I'm slowly getting it working. >One problem I can't crack is that, when I compile and link my >program at the command line with "gcc -s -o .\myprog.exe myprog.c" >everything works fine. However, when I use "Build all" from within >RHIDE, I get error messages like "multiple definition of `_main'". >AFAICT, I have only one file loaded. >Thanks for any help! What is the content of you project in RHIDE? If you're added a header file, delete from the project. If you're tryng build without projects, be sure of close all C files, except the source file "myprog.c". Hope this help. J. L. >Ray Andrews, >Vancouver, Canada