Mail Archives: djgpp/2000/03/05/13:30:07
I encountered the following problem using `install' in makefiles.
`install' is a symlink that comes with the fil316b.zip archive,
and it points to `ginstall.exe'. The symptom is as follows:
% ginstall --version
install (GNU fileutils) 3.16
% install --version
./GINSTALL.EXE: cannot open
Strange; `install' can't find the program it is supposed to point to.
I created a new symlink `gi', and it works ok:
% ln -s ginstall.exe gi.exe
% gi --version
install (GNU fileutils) 3.16
So what is the difference between `install' and my `gi'?
% stubedit -v install.exe
-value- -field description-
0x40000 (256k) Minimum amount of stack space (bytes/K/M)
0x4000 (16k) Size of real-memory transfer buffer (bytes/K/M)
GINSTALL Base name of file to actually run (max 8 chars, ""=self)
"" Value to pass as file component of argv[0] (max 16 chars,
""=default)
CWSDPMI.EXE Program to load to provide DPMI services (if needed)
% stubedit -v gi.exe
-value- -field description-
0x80000 (512k) Minimum amount of stack space (bytes/K/M)
0x4000 (16k) Size of real-memory transfer buffer (bytes/K/M)
ginstall Base name of file to actually run (max 8 chars, ""=self)
"" Value to pass as file component of argv[0] (max 16 chars,
""=default)
CWSDPMI.EXE Program to load to provide DPMI services (if needed)
The only differences I see are in the case of the executable name
(`GINSTALL' vs `ginstall') and in the minimum stack size (256k vs
512k). But, even when I create a symlink to `ginstall' using the
uppercase name and the smaller stack size, it will work and the
original `install' symlink does not! In fact, any symlink I create
will work as expected, but `install' will not. What's going on?
- Raw text -