From jan@swi.psy.uva.nl  Tue Jul 27 10:07:18 1999
Received: from gollem.swi.psy.uva.nl (jan@gollem.swi.psy.uva.nl [145.18.114.15])
	by swi.swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id KAA15133
	for <prolog@swi.psy.uva.nl>; Tue, 27 Jul 1999 10:07:17 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.8.8/8.8.8) id KAA05224;
	Tue, 27 Jul 1999 10:09:13 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
To: prolog@swi.psy.uva.nl, "Πέτρος Τσέλιος" <tpe@aegean.gr>
Subject: Re: C++ and SWI Compilation problem
Date: Tue, 27 Jul 1999 10:03:13 +0200
X-Mailer: KMail [version 0.7.9]
Content-Type: text/plain
References: <000401bed801$c07df640$9ec178d4@wmstr>
MIME-Version: 1.0
Message-Id: <99072710091302.05163@gollem>
Content-Transfer-Encoding: 8bit

On Tue, 27 Jul 1999, Πέτρος Τσέλιος wrote:
>Hallo again,
>I still have the compilation problem. After a big problem (I could not
>compile form the the VC environment) and a new HD format, I made all the
>necessary changes in my autoexec.bat file and here are the results:
>--------------------------------------------------------------------------
>--------------------------------------
>C:\Langs\pl\bin>plld -v -o calc.cpp calc.pl
>        eval `plcon.exe -dump-runtime-variables`
>                CC="cl"
>                PLBASE="c:/langs/pl"
>                PLARCH="i386-win32"
>                PLLIBS=""
>                PLLDFLAGS=""
>        LIB=c:\langs\pl\lib;\LIB;\MFC\LIB;;C:\Langs\pl\lib
>
>        link.exe /out:ctmp--2094945  /nologo libpl.lib
>Bad command of filename

Suggests it can't find link.exe.  Is you PATH setup correctly?
Try running link.exe directly from the commandline.
Also, you've got no C++ input files as calc.cpp is the argument
to the -o output switch.  So the command should be

plld -v -o calc.exe calc.cpp calc.pl

	--- Jan

