Subject: Re: GCC
From: "Kai Henningsen" <[email-masked]>
To: "hark sng-" <[email-masked]>, Mumit Khan <[email-masked]>
Cc: [email-masked]
Date: Mon, 13 Sep 1999 16:59:28 +0200

On 23 Aug 99, at 11:57, Mumit Khan wrote:

> "hark sng-" <[email-masked]> writes:
> > I tried compiling a simple program using Ming32 and Cywin GCC, but in both i 
> > get the CPP program giving me a error message saying: the -remap option is 
> > no understood.

Same problem here: just calling cpp without any arguments is 
enough to make this happen (cpp complains about -remap in a 
loop until no more processes).

Installation sequence:

1. B20.1
2. Snapshot 19990905
3. gcc 2.95
4. gcc 2.95 dev-ss

The weird thing is it looks as if it worked for a short time before 
breaking this way.

>   1. For cygwin, provide the output of cygcheck:
>      
>      $ cygcheck -s -r

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Sep 13 14:50:38 1999

WinNT Ver 4.0 build 1381 Service Pack 4

Path:	/bin
	/cygdrive/f/cygnus/CYGWIN~1/H-I586~1/bin
	/WINNT/system32
	/WINNT
	/cygdrive/f/Programme/Personal Communications
	/cygdrive/f/aintx
	/WINNT/system32/nls/ENGLISH
	/WINNT/system32/nls
	/NTReskit
	/cygdrive/w
	/cygdrive/z
	/cygdrive/y
	/cygdrive/x
	/cygdrive/c/WIN95.US
	/cygdrive/c/WIN95.US/COMMAND
	/cygdrive/c/WIN98.US/COMMAND
	/cygdrive/c/WIN98
	/cygdrive/c/WIN98/COMMAND
	/cygdrive/f/READIBMW

SysDir: E:\WINNT\System32
WinDir: E:\WINNT

MAKE_MODE = `UNIX'
PWD = `/cygdrive/f/tmp/gstep/tiff-v3.4beta037'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `e:'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/bin
  (default) = `f:\cygnus\cygwin-b20\H-i586-cygwin32\bin'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `E:'
  unix = `/'
  fbinary = 0x00000000
  fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1
  (default) = `f:\cygnus\cygwin-b20'
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus Cygwin B20
  (default) = `E:\WINNT\IsUninst.exe -ff:\cygnus\cygwin-b20\Uninst.isu'
  DisplayName = `Cygwin B20'

a:  fd           N/A    N/A                    
c:  hd  FAT     1027Mb  98% CP    UN           WIN98
d:  cd  CDFS     544Mb 100%    CS              16-BIT_TOOLS
e:  hd  NTFS    1027Mb  60% CP CS UN PA FC     NT
f:  hd  NTFS    4000Mb  78% CP CS UN PA FC     Daten 1
g:  hd  NTFS    4965Mb  70% CP CS UN PA FC     Daten 2
h:  net NTFS    1942Mb  90%          PA        kai
i:  net NWFS     302Mb  92% CP                 SYS
k:  net NTFS     874Mb  63%          PA        Pegasus
l:  net NTFS    1980Mb  91%          PA        CATSprog
n:  net NTFS    1942Mb  88%          PA        DATA
o:  net NWFS    1330Mb  76% CP                 DATA
p:  net NTFS    1942Mb  88%          PA        KaiHome
q:  hd  FAT     1023Mb  30% CP    UN           SWAP 1
r:  hd  FAT      989Mb  31% CP    UN           SWAP 2
s:  net NWFS     302Mb  92% CP                 SYS
t:  net NWFS    1330Mb  76% CP                 DATA
u:  hd  FAT      697Mb  13% CP    UN           CDR1
v:  hd  FAT      697Mb  29% CP    UN           CDR2
w:  net NWFS     302Mb  92% CP                 SYS
x:  net NWFS    1330Mb  76% CP                 DATA
y:  net NWFS    1330Mb  76% CP                 DATA
z:  net NWFS     302Mb  92% CP                 SYS

f:\cygnus\cygwin-b20\H-i586-cygwin32\bin  /bin     user    binmode
e:    /        user    binmode

Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\bash.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\bash.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cat.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\cat.exe
Found: f:\aintx\cat.exe
Found: e:\NTReskit\cat.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cpp.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\cpp.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\find.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe
Found: c:\WIN95.US\COMMAND\find.exe
Found: c:\WIN98.US\COMMAND\find.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ls.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe
Found: e:\NTReskit\ls.exe
Found: y:\\ls.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe
Found: y:\\make.exe
Found: f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\sh.exe
Found: f:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe
Found: y:\\sh.exe

  371k 1998/12/01 f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll
    5k 1998/12/01 f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll
   10k 1998/12/01 f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll
  600k 1998/12/01 f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll
  506k 1999/09/06 f:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll
  371k 1998/12/01 f:\cygnus\CYGWIN~1\H-I586~1\bin\cygtcl80.dll
    5k 1998/12/01 f:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclpip80.dll
   10k 1998/12/01 f:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclreg80.dll
  600k 1998/12/01 f:\cygnus\CYGWIN~1\H-I586~1\bin\cygtk80.dll
  506k 1999/09/06 f:\cygnus\CYGWIN~1\H-I586~1\bin\cygwin1.dll
Use -h to see help about each section

>   2. your environment variables (env in Cygwin, set in DOS/Win9x/NT)

!E:=E:\WINNT\Profiles\Kai\Desktop
!I:=I:\
!O:=O:\
!S:=S:\
!T:=T:\
!W:=W:\
!X:=X:\
!Y:=Y:\
!Z:=Z:\
BLASTER=A220 I7 D1 T2
CDPATH=N:/ETC;N:/;N:/PRODAT/SRC;N:/PRODAT/BIN;N:HARDWARE;S:/GMBH;S:/;Q:/;N:/WINDOWS;N:/WINDOWS/AMIPRO/DOCS;Q:/PRODAT;N:/PRODAT/EXE;T:/
COMPUTERNAME=PRAG
COMSPEC=E:\WINNT\system32\cmd.exe
FILE_SERVER=ISABELL
HOMEDRIVE=E:
HOMEPATH=\users\default
HOSTNAME=PRAG
HOSTTYPE=i586
LOGIN_NAME=Kai
MACHINE=IBM_PC
MACHTYPE=i586-pc-cygwin32
MAIL=No
MAKE_MODE=UNIX
NETWORK_ADDRESS=4815702E
NTRESKIT=E:\NTReskit
NUMBER_OF_PROCESSORS=1
NWLANGUAGE=ENGLISH
NWUSERNAME=Kai
OS2LIBPATH=E:\WINNT\system32\os2\dll;
OS=Windows_NT
OSTYPE=cygwin32
PATH=/bin:/cygdrive/f/cygnus/CYGWIN~1/H-I586~1/bin:/WINNT/system32:/WINNT:/cygdrive/f/Programme/Personal Communications:/cygdrive/f/aintx:/WINNT/system32/nls/ENGLISH:/WINNT/system32/nls:/NTReskit:/cygdrive/w:/cygdrive/z:/cygdrive/y:/cygdrive/x:/cygdrive/c/WIN95.US:/cygdrive/c/WIN95.US/COMMAND:/c
ygdrive/c/WIN98.US/COMMAND:/cygdrive/c/WIN98:/cygdrive/c/WIN98/COMMAND:/cygdrive/f/READIBMW
PATHEXT=.COM;.EXE;.BAT;.CMD
PICNIX_SWITCHAR=-
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 5 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0502
PROMPT=$P$G
PSTATION=005004494909
PWD=/cygdrive/f/tmp/gstep/tiff-v3.4beta037
P_STATION=005004494909
SHELL=/bin/sh
SHLVL=1
SNDSCAPE=C:\WIN98.US
STATION=3
SYSTEMDRIVE=E:
SYSTEMROOT=E:\WINNT
TEMP=E:\TEMP
TERM=cygwin
TMP=E:\TEMP
USERDOMAIN=PRAG
USERID=C000001
USERNAME=Kai
USERPROFILE=E:\WINNT\Profiles\Kai
USER_ID=C000001
WINDIR=E:\WINNT
WINDOWS_LOGIN=0
_=/bin/env

>   3. compiler version and some runtime info:
>      
>      $ gcc -v filename.c

Using builtin specs.
gcc version 2.95 19990728 (release)
 cpp -lang-c -v -iprefix /bin/../lib/gcc-lib/i586-cygwin32/2.95/ -D__GNUC__=2 -D__GNUC_MINOR__=95 -Di386 -D_WIN32 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D_WIN32 -D__WINNT__ -D_X86_
Using builtin specs.
cpp: unrecognized option `-remap'
gcc version 2.95 19990728 (release)
 cpp -lang-c -v -Asystem(winnt) -Acpu(i386) -Amachine(i386) -Acpu(i386) -Amachine(i386) -iprefix /bin/../lib/gcc-lib/i586-cygwin32/2.95/ -Di386 -D_WIN32 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) 
Using builtin specs.
cpp: unrecognized option `-remap'
gcc version 2.95 19990728 (release)
 cpp -lang-c -v -Asystem(winnt) -Acpu(i386) -Amachine(i386) -Acpu(i386) -Amachine(i386) -Asystem(winnt) -Acpu(i386) -Amachine(i386) -Acpu(i386) -Amachine(i386) -iprefix /bin/../lib/gcc-lib/i586-cygwin32/2.95/ -Di386 -D_WIN32 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) 
Using builtin specs.
cpp: unrecognized option `-remap'
[...]

Regards - Kai Henningsen

-- 
http://www.cats.ms
Spuentrup CTI       Fon: +49 251 322311 0  
Windbreede 12       Fax: +49 251 322311 99
D-48157 Münster     Mob: +49 161 3223111
Germany             GSM: +49 171 7755060

--
Want to unsubscribe from this list?
Send a message to [email-masked]