Mail Archives: djgpp/2004/08/21/02:45:11
On Fri, 20 Aug 2004 16:19:33 -0400 in comp.os.msdos.djgpp, DJ Delorie
<dj AT delorie DOT com> wrote:
>> gunzip.exe will contains the following context with symlink in windows.
>
>Use stubedit to create a symlink stub for executables. "ln -s" only
>works for data files (although one would expect it to "just work" for
>executables).
That's interesting, my gunzip.exe was created by "ln -s gzip gunzip",
is 2KB long, and contains the following text from byte 31:
"stub.h generated from stub.asm by djasm, on Thu Dec 9 10:59:31 1999
The STUB.EXE stub loader is Copyright (C) 1993-1995 DJ Delorie.
Permission granted to use for any purpose provided this copyright
remains present and unmodified.
This only applies to the stub, and not necessarily the whole program.
$Id: stub.asm built 12/09/99 10:59:31 by djasm $
@(#) stub.asm built 12/09/99 10:59:31 by djasm"
I just tested this with:
bash-2.04$ ln -s gzip gtest
bash-2.04$ gzip --version
gzip 1.3
(1999-12-21)
Copyright 1999 Free Software Foundation
Copyright 1992-1993 Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H
PROTO ASMV
Written by Jean-loup Gailly.
bash-2.04$ gtest --version
gtest 1.3
(1999-12-21)
Copyright 1999 Free Software Foundation
Copyright 1992-1993 Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H
PROTO ASMV
Written by Jean-loup Gailly.
bash-2.04$ rm -f gtest.exe
bash-2.04$
--
Thanks. Take care, Brian Inglis Calgary, Alberta, Canada
Brian DOT Inglis AT CSi DOT com (Brian dot Inglis at SystematicSw dot ab dot ca)
fake address use address above to reply
- Raw text -