Message-ID: <000101bc14be$b13ae520$2b9912cf@berglund> From: "berglund" To: Subject: I can't compile anything! Date: Fri, 7 Feb 1997 00:18:08 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Reply-To: djgpp AT delorie DOT com I recently download DJGPP and have been trying to get a "hello world" program working in C++, but nothing will compile. Every time i try it freezes. I know that the autoexec.bat files are correct because when i had those wrong i got a different error. I've tried to compile using rhide 1.4, rhide 1.4.7.1, through dos with gxx, through dos with gcc, I've tried to compile .cpp, .c, and .cc files. Even running the make program for allegro doesn't work. I've searched the mail archives but i've only found one relating to this specific problem. I've copied it below. I'm running under windows 95 version C, have no partitions, and allowed ample time to compile(when i tried to make allegro i left it run for 4 hours while i slept). I'm fairly sure i've got the command line write when i try to compile in dos because it will tell say it the program has errors. Thank you for your time. -Daniel *************************************************************************** Mail Archives djgpp/1997/11/22/13:30:35 From: "Tony O'Bryan" Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP HELP HELP! GCC freezes on me every time! Date: Sat, 22 Nov 1997 05:54:40 -0600 Organization: Southwest Missouri State University Lines: 34 Message-ID: <3476C800 DOT 37AE AT nic DOT smsu DOT edu> References: <199711220500 DOT VAA15985 AT adit DOT ap DOT net> Reply-To: aho450s AT nic DOT smsu DOT edu NNTP-Posting-Host: sara.a44.smsu.edu Mime-Version: 1.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Nate Eldredge wrote: > > At 08:07 11/21/1997 GMT, Aquinas wrote: > >Help! I just got DJGPP from a distribution site but when I try to compile > >Hello World, either from RHIDE or from the command line (using GCC) it locks > >up and won't respond to any keys (except ctrl-alt-del, alt-tab etc) I am > It's possible that this a known bug in RHIDE. That was related to C++ files > with extensions other than `.cc'. If that's the case, either rename your > file or upgrade to RHIDE 1.4 where I think this is fixed. Since he's also experiencing freezes with gcc outside of RHIDE, I have doubts whether RHIDE is the cause. Please post the contents of your autoexec.bat (the PATH is the important entry), and the smallest program that crashes gcc from the command line. Also post the EXACT command line you use to compile the program, including any and all command line switches. Also describe your partition structure. This last one makes gcc APPEAR to crash on my system since my partitions are: 1) c: = DOS/WINDOWS 16-bit FAT. 2) d: = Linux native partition 3) e: = CD-ROM When I try to compile with gcc under Windows (haven't tried under DOS), Windows tries to read all my partitions (don't know why it does this either). When it gets to my Linux partition, it spend a LOT of time erroring out before continuing. While Windows tries accessing my Linux partition, my system appears to freeze. When the partition read finally errors out (after about 30 to 45 seconds), everything continues just fine. Also, which version of DJGPP did you install? Did you install a newer version on top of an older version?