compiling gnu prolog with visual studio 2005

"Markus Neuhaber" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.