Mail Archives: djgpp/1998/02/17/01:44:27
On Mon, 16 Feb 1998, Gordon Talge wrote:
> The problem is when I run the makefile
> everything works ok unitil it tries to use ln -s. I get something
> like this:
>
> d:/pgp5.0i/src/lib/bn
> Linking bn.h bnprime.h bngermain.h to public include
> D:/DJGPP/BIN/ln -s:../lib/bh../../lib/bn/bnprime.h
In the DJGPP port of `ln', "ln -s" only works for executables. (DOS
doesn't support symlinks, but DJGPP can simulate symlinks to programs
because the stub can be told to run another program.)
For non-executables, you need to convert "ln -s" int just "ln". Hard
links are simulated by copying files, which is what you want.
I'm not familiar with the way PGP is configured before you run Make,
but usually it is the job of a configuration script to figure out
whether the target system supports symlinks, and if not, use "ln"
instead of "ln -s".
If there's no configuration script that works for DJGPP, just edit the
Makefile and replace "ln -s" with "ln" in that case.
- Raw text -