delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/12/13:16:54

From: "Chris Parsons" <chris AT edenweb DOT co DOT uk>
To: <djgpp AT delorie DOT com>
Subject: Problem: GCC will not write .o file
Date: Tue, 12 Jan 1999 18:17:10 -0000
Message-ID: <000001be3e57$c597f660$e11a883e@chris1>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Reply-To: djgpp AT delorie DOT com

Hi,

I'm having problems compiling *.cc files with GCC. I'm not getting any
object files. *.c files work fine! Does anyone have any idea how to fix
this?

Please reply back to me personally.

Thanks in advance

Chris

------------------------------------
Chris Parsons
3rd year BSc (Hons) Computer Science
cp6590 AT bris DOT ac DOT uk

----------------------------------------------------------------------------
----
Verbose GCC output:

C:\Stuff\TEP\relcode>gcc -Wall -v -c wini.cc
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__GNUG__=2 -D__cplus
plu
s -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__u
nix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -Wall wini.cc
c:/d
jgpp/tmp\ccbaaaaa
GNU CPP version 2.7.2.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lang/cxx
 c:/djgpp/include
 c:/djgpp/contrib/grx20/include
 /usr/local/lib/g++-include
 /usr/local/include
 /usr/local/go32/include
 /usr/local/lib/gcc-lib/go32/2.7.2.1/include
 /usr/include
End of search list.
 c:/djgpp/bin\cc1plus.exe c:/djgpp/tmp\ccbaaaaa -quiet -dumpbase
wini.cc -Wall -
version -o c:/djgpp/tmp\cccaaaaa

----------------------------------------------------------------------------
----

Go32-v2 output:

C:\Stuff\TEP\relcode>go32-v2
go32/v2 version 2.0 built Aug 12 1996 22:27:23
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your
PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 20447 Kb
DPMI swap space available: 9285 Kb

----------------------------------------------------------------------------
----

Environment listing:

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
SOUND16=C:\OPTi931
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\COMMANDS
\;C:
\DJGPP\GNU\EMACS\BIN;C:\DJGPP\BIN;C:\PERL\BIN;C:\OPTI931;C:\JDK1.2\BIN;C:\PR
OGRA
~1\SUPERC~1\BIN
FX_GLIDE_NO_SPLASH=1
windir=C:\WINDOWS
BLASTER=A240 I10 D3 T4
DJGPP=c:/djgpp/djgpp.env
LFN=y
CMDLINE=go32-v2


- Raw text -


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