delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/22/13:34:57

From: davem2 AT ma DOT ultranet DOT com (Dave Maranhao)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What's going on?
Date: Sun, 22 Feb 1998 16:43:59 GMT
Organization: UltraNet Communications, Inc. http://www.ultranet.com/
Lines: 66
Message-ID: <34f05554.2873472@news.ma.ultranet.com>
References: <34edc238 DOT 689797 AT news DOT ma DOT ultranet DOT com> <34EE1610 DOT 2A25 AT cs DOT com> <34ef6956 DOT 3878249 AT news DOT ma DOT ultranet DOT com>
NNTP-Posting-Host: d33.dial-2.met.ma.ultra.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sun, 22 Feb 1998 00:30:42 GMT, davem2 AT ma DOT ultranet DOT com (Dave
Maranhao) wrote:

>On Fri, 20 Feb 1998 18:47:28 -0500, "John M. Aldrich"
><fighteer AT cs DOT com> wrote:
>
>>Dave Maranhao wrote:
>>> 
>>> I'm having a strange error when I try to compile programs using GCC.
>>> When I first got DJGPP it was working fine, now whenever I compile
>>> something it doesn't create a .OBJ file or a .EXE file.  Also if I try
>>> to compile a program with errors in it, the compiler doesn't report
>>> any errors!  Has this ever happed to anyone else?  Can someone please
>>> tell me how to fix this problem??
>>
>>I've never heard of anything like this.  It would help if you described
>>in greater detail exactly what you do that causes the compiler to behave
>>improperly; i.e., the exact command line you use, a capture of the
>>output of 'gcc -v ...' (if any) using 'redir', the output of 'go32-v2'
>>(to see if any DJGPP programs work), and details on your operating
>>system and configuration.
>>
>>-- 
>>---------------------------------------------------------------------
>>|      John M. Aldrich       | "If 'everybody knows' such-and-such, |
>>|       aka Fighteer I       | then it ain't so, by at least ten    |
>>|   mailto:fighteer AT cs DOT com   | thousand to one."                    |
>>| http://www.cs.com/fighteer |                 - Lazarus Long       |
>>---------------------------------------------------------------------
>
>
>I am using a 386 with MS-DOS 5.0..
>
>The problem I had with the compiler not reporting errors has fixed
>itself somehow, but the compiler still isn't producing .OBJ's and
>EXE's
>
>Here's what happens when I compile a simple "Hello world" program with
>the /v option.
>
>C:\DJGPP>gcc hello.c -v
>
>Reading specs from c:/djgpp/lib\specs
>gcc version 2.7.2.1
>c:\djgpp/bin\cpp.exe _lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7
>-Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__
>-D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D_DJGPP_MINOR__=1
>-D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1
>hello.c c:/djgpp/tmp\ccbaaaaa
>GNU CPP version 2.7.2.1 (80386, BSD syntax)
>#include "..." search starts here:
>#include <...> search starts here:
>c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccbaaaaa -quiet -dumpbase hello.c
>-version -o
>c:/djgpp\tmp\cccaaaaa
>
>hope this helps out.
>--Dave

I've found the problem.  Somehow my autoexec.bat and config.sys were
deleted.  It's strange that DJGPP worked at all!

anyway, thank-you to everyone who helped me out

--Dave

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019