delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/17/03:33:01

Message-Id: <5.0.2.1.0.20010517170915.00a6eec0@mailhost>
X-Sender: adacza AT mailhost
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Thu, 17 May 2001 17:33:32 +1000
To: djgpp AT delorie DOT com
From: Adam Czaplinski <Adam DOT Czaplinski AT vision-fs DOT com>
Subject: gcc output
Mime-Version: 1.0
X-scanner: Scanned by Inflex & McAffee.
Reply-To: djgpp AT delorie DOT com

Hello,

I've just recently started playing with the djpp environment. Unfortunately 
I discovered that the gcc always produces output in capital letters and 
limits file name to 8 characters. I tried to run a following test on my 
Windows NT PC:

gcc -o abcdefghijkl.o crap.c

and always got the following result ABCDEFGH.O as an output. The same test 
performed with Cygwin gcc produces 'abcdefghijkl.o' output as expected. I 
tried to run DJGPP gcc form diffrent shells i.e: Cygwin bash, 4nt, 
command.com but the result is always the same - ABCDEFGH.O.

One of my colleagues did the same test on his Win NT PC using exactly the 
same DJGPP installation and got always correct results. The case and the 
file name was ALWAYS as specified in the '-o' option!!!!!! We compared our 
envronments and it looks like they look pretty the same.

I would appreciate very much if there is anyone who may help me to solve 
this annoying problem.

Thank you for your co-operation.

adam.

P.S. Enclosed below is a closer look at my configuration and results of my 
test.

------------------------------- cut here please 
---------------------------------------------------------

C:\Adams\crap>gcc -o abcdefghijkl.o crap.c

C:\Adams\crap>dir

  Volume in drive C is halfmoon       Serial number is 4426:CBD4
  Directory of  C:\Adams\crap\*

  5/17/01  17:05         <DIR>    .
  5/17/01  17:05         <DIR>    ..
  5/17/01  17:05          93,276  ABCDEFGH.EXE
  5/17/01  17:05          91,228  ABCDEFGH.O
  5/17/01  14:58              39  crap.c
         184,543 bytes in 3 files and 2 dirs    192,512 bytes allocated
  15,083,110,400 bytes free

C:\Adams\crap>gcc -o abcdefghijkl.o crap.c -v
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs
gcc version 2.95.3 20010315/djgpp (release)
  c:/djgpp/lib/gcc-lib/djgpp/2.953/cpp0.exe -lang-c -v -D__GNUC__=2 
-D__GNUC_MINO
R__=95 -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ 
-D__GO32__ -
D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS 
-Asyst
em(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -Acpu(i386) 
-Amachine(i386)
  -Di386 -D__i386 -D__i386__ -D__tune_pentium__ -imacros 
c:/djgpp/lib/djgpp.ver -
remap crap.c C:\TEMP\ccbGqlAz.i
GNU CPP version 2.95.3 20010315/djgpp (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
  c:/djgpp/lib/gcc-lib/djgpp/2.953/include
  c:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
  $DJDIR/lang/cxx
  $DJDIR/lib/gcc-lib/djgpp/2.953/../../../../djgpp/include
End of omitted list.
  c:/djgpp/lib/gcc-lib/djgpp/2.953/cc1.exe C:\TEMP\ccbGqlAz.i -quiet 
-dumpbase cr
ap.c -version -o C:\TEMP\ccuhhok2.s
GNU C version 2.95.3 20010315/djgpp (release) (djgpp) compiled by GNU C version
2.95.3 20010315/djgpp (release).
  c:/djgpp/bin/as.exe -o C:\TEMP\ccHnDAjA.o C:\TEMP\ccuhhok2.s
  c:/djgpp/lib/gcc-lib/djgpp/2.953/collect2.exe -o abcdefghijkl.o 
c:/djgpp/lib/cr
t0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/2.953 -Lc:/djgpp/bin 
-Lc:/djgpp
/lib C:\TEMP\ccHnDAjA.o -lgcc -lc -lgcc -Tdjgpp.djl
  c:/djgpp/bin/stubify.exe -v abcdefghijkl.o
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie
stubify: abcdefghijkl.o -> abcdefghijkl.000 -> abcdefghijkl.exe

C:\Adams\crap>gcc -v
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs
gcc version 2.95.3 20010315/djgpp (release)

C:\Adams\crap>set
AppendToDir=Yes
BatchEcho=No
BeepFreq=440
BeepLength=2
ColorDir=DIRS:Bri Yel On Bla;BTM BAT COM EXE:Bri Red On Bla;TXT:Bri Gre On 
Bla;A
RJ ZIP LHA RAR:Bri Blu On Bla;RDONLY:Bri Bla On Bla
COMPUTERNAME=HALFMOON
ComSpec=C:\4NT\4nt.exe
CursorIns=10
CursorOver=100
CYGWIN=tty
DecimalChar=.
DescriptionMax=40
DJGPP=c:\djgpp\djgpp.env
EditMode=Insert
HistMin=0
History=512
HOME=H:\
HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=\\igor\adacza
ListColors=Whi On Bla
LocalAliases=YES
LocalHistory=YES
LOGONSERVER=\\BEEPYTHING
MAKE_MODE=UNIX
MSINPUT=C:\Program Files\Microsoft Hardware
NUMBER_OF_PROCESSORS=1
NUTCROOT=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT
NUTSUFFIX=1
NUT_SUFFIXED_SEARCHING=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=c:\djgpp\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONA
L\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\WINN
T\system32;C:\WINNT;C:\Program Files\Network Associates\PGPNT;C:\Program 
Files\R
ational\common;C:\Program Files\Rational\ClearCase\bin;C:\Program 
Files\Rational
\Rational Test;C:\Program Files\Rational\Coverage;C:\Program 
Files\Rational\Cove
rage\cache;C:\bc45\bin;c:\cygwin\bin;C:\BC45\BIN;C:\IAR
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0806
PROMPT=$P$G
RTHOME=C:\Program Files\Rational\Rational Test
SSI_ACT=100,100,100
StdColors=Whi On Bla
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\TEMP
TERM=nutc
TERMCAP=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\etc\termcap
TERMINFO=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo
TMP=C:\TEMP
TMPDIR=C:\TEMP
USERDOMAIN=VSL.COM.AU
USERNAME=adacza
USERPROFILE=C:\WINNT\Profiles\adacza
windir=C:\WINNT
C:\Adams\crap>go32-v2
go32/v2 version 2.0 built Dec 24 1999 17:46:57
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: 117105 Kb
DPMI swap space available: 0 Kb

___________________________________________________________________________
Vision Systems - Fire and Security                 Adam Czaplinski
495 Blackburn Road, Mount Waverley             Embedded Software Engineer
Australia, 3149
Ph +61 3 9211 7208 (direct)
Ph +61 3 9211 7200 (switchboard)
Fx +61 3 9211 7201
Email Adam DOT Czaplinski AT vision-fs DOT com             Web Home Page www.vesda.com
___________________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
___________________________________________________________________________

- Raw text -


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