This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Long Command lines in makefile


Thanks again for your help.

> Step 1: Blame something else :-)
>
> As long as it works on your co-workes computers.. It is your computer
> that is faulty.. :-) Get a new one ;-)
hehehe, good idea, I'm always looking for a more powerful computer.
Anyway my PC is 3 months old, I only installed "MS Office 2000" and a few
development kit like "CodeWarrior for MIPS" and others.

>
> Step 2: Try workaround.
>
> Well here are a bunch of workarounds.. all of them expanding objs,
> maybe another one is splitting objs into two and doing rm objs1, rm
> objs2..
Yes splitting objs works.
"echo $(TARGET_LIB) $(DEPEND_FILES) $(OBJS) .depend" works too.
But "echo $(TARGET_LIB) $(DEPEND_FILES) $(OBJS) .depend | xargs rm -f" does
NOT work (i.e. it crashes in the same way).

>
> Step 3: Find the error.
>
> Hmm are you running gmake from the bash-window? Or command? You other
> folks out there, what does gmake use for shell when compiling??
I run from bash-window.

>
> Do you have any other rm.exe, bash.exe, sh.exe, gmake lying around,
> what does cygcheck say?
There are no other executables with same name around (I've scanned all the
harddisk).
cygcheck reports are shown below:

********************************************************
"cygchek -v -h make" output:
********************************************************

Here is where the OS will find your program, and which dlls
will be used for it.  Use -v to see DLL version info

Found: C:\cygwin\bin\make.exe
C:\cygwin\bin\make.exe - os=4.0 img=1.0 sys=4.0
  C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
    "cygwin1.dll" v0.0 ts=2001/1/31 16:08
    C:\WINDOWS\SYSTEM\KERNEL32.dll - os=4.0 img=1.9 sys=4.0
      "KERNEL32.dll" v0.0 ts=1999/4/23 2:45
  C:\WINDOWS\SYSTEM\KERNEL32.dll (already done)

********************************************************
"cygchek -s -h" output:
********************************************************

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Apr  4 11:19:06 2001

Win9X Ver 4.10 build 67766446  A

Path:	/usr/local/bin
	/usr/bin
	/bin
	/ecos/tools/bin
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS/COMMAND
	/cygdrive/c/PROGRA~1/ROCKWE~1/RSCOMMON
	/cygdrive/c/UTIL
	/cygdrive/c/NU

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

Here's some environment variables that may affect cygwin:
PWD = `/ecos/work/ISaGRAF-20010228/isagraf/src'
USER = `minosu'
MAKE_MODE = `unix'
HOME = `/home/minosu'

Here's the rest of your environment variables:
PROMPT = `$p$g'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
!C: = `C:\cygwin\bin'
CMDLINE = `bash --login -i'
HOSTNAME = `AM'
SBPCI = `C:\SBPCI'
WINDIR = `C:\WINDOWS'
WINBOOTDIR = `C:\WINDOWS'
PS1 = `]0;\w
\u@\h \w
$ '
BLASTER = `A220 I7 D1 H7 P330 T6'
MACHTYPE = `i686-pc-cygwin'
OLDPWD = `/home/minosu'
TEMP = `/cygdrive/c/WINDOWS/TEMP'
SHLVL = `1'
SHELL = `/bin/sh'
!M: = `M:\AV-Update'
HOSTTYPE = `i686'
OSTYPE = `cygwin'
TERM = `cygwin'
_ = `/usr/bin/cygcheck'
TZ = `WEST-1WEDT-2,M3.5.0/2,M10.5.0/3'

Use `-r' to scan registry

Listing available drives...
Drv Type        Size   Free Flags              Name
a:  fd           N/A    N/A
c:  hd  FAT32   8212Mb  82% CP    UN
d:  cd           N/A    N/A
m:  net NTFS    6197Mb  87% CP CS UN PA FC     Sitek
fd=floppy, hd=hard drive, cd=CD-ROM, net=Network Share
CP=Case Preserving, CS=Case Sensitive, UN=Unicode
PA=Persistent ACLS, FC=File Compression, VC=Volume Compression

Mount entries: these map POSIX directories to your NT drives.
-NT-  -POSIX-  -Type-  -Flags-
c:\cygwin\ecos  /ecos    user    textmode
C:\cygwin\bin  /usr/bin  user    binmode
C:\cygwin\lib  /usr/lib  user    binmode
C:\cygwin  /        user    binmode

Looking to see where common programs can be found, if at all...
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: c:\cygwin\ecos\tools\bin\cpp.exe
Warning: C:\cygwin\bin\cpp.exe hides c:\cygwin\ecos\tools\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

Looking for various Cygnus DLLs...  (-v gives version info)
   81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/26 2:43
   35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/26 2:43
  390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/26 2:39
    5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/26 2:39
  623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/26 2:43
   56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/21 0:53
   18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/23 4:26
   14k 2000/10/23 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2000/10/23 21:02
   45k 2000/10/22 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2000/10/23 1:06
  119k 2000/10/22 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2000/10/23 2:58
  163k 2001/02/03 C:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/2/3 22:21
   82k 2001/01/21 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/1/21 21:39
   53k 2001/01/21 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/1/21 21:39
  414k 2001/01/21 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/1/21 21:40
  299k 2001/01/21 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/1/21 21:38
   34k 2001/01/21 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/1/21 21:38
   17k 2001/01/07 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
  108k 2001/01/07 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
  243k 2000/10/23 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2000/10/23 3:14
   41k 2000/11/20 C:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2000/11/20 3:41
   45k 2000/11/20 C:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/20 3:45
   49k 2001/02/03 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/3 21:35
  615k 2001/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/1/31 16:08
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 8
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 34
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:
        build date: Wed Jan 31 10:08:38 EST 2001
        shared id: cygwin1S3

  408k 2000/10/16 c:\cygwin\ecos\tools\bin\cygitcl30.dll - os=4.0 img=1.0
sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/10/16 17:34
  299k 2000/10/16 c:\cygwin\ecos\tools\bin\cygitk30.dll - os=4.0 img=1.0
sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/10/16 17:34
 1514k 2000/10/16 c:\cygwin\ecos\tools\bin\cygtcl80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/10/16 17:23
   24k 2000/10/16 c:\cygwin\ecos\tools\bin\cygtclpip80.dll - os=4.0 img=1.0
sys=4.0
  183k 2000/10/16 c:\cygwin\ecos\tools\bin\cygtclreg80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/10/16 17:23
 2073k 2000/10/16 c:\cygwin\ecos\tools\bin\cygtk80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/10/16 17:31



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]