users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling gnu prolog with visual studio 2005


From: Markus Neuhaber
Subject: compiling gnu prolog with visual studio 2005
Date: Sun, 29 Jan 2006 11:20:36 -0500

Hello,

I am sending these notes in the hope that they will be useful to whoever needs 
to get
gprolog going with visual studio 2005.
1. Downloaded the gnu prolog 1.2.19 source package
2. installed cygwin, make sure to get make too, it's not in the base packages.
3. installed nasm, VERY IMPORTANT - make sure there are no double quotes in 
your PATH
   variables (system and user). If the PATH component for nasm is towards the 
end
   and you have "c:\program files\whatever\bin" before it, then spawnvp() will 
fail
   to find and run nasmw.exe resulting in weird errors like "Invalid argument".
   Either put the path to nasmw as close to the front as possible or better yet 
remove
   double quotes from all path components.
4. if there is a link.exe in cygwin or other unix compatibility directories, 
make sure
   it doesn't shadow (come before) the vstudio link.exe in the PATH.
4. ./configure --prefix=/cygdrive/c/prolog --with-msvc
5. make, make install

All in all, it's a great prolog system, very well implemented.

-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]