Date: Tue, 17 Feb 1998 08:42:37 +0200 (IST) From: Eli Zaretskii To: Gordon Talge cc: djgpp AT delorie DOT com Subject: Re: 'ln -s' problem In-Reply-To: <34E90ADB.19C0@pe.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.