Windows 32 bits exe generation issue

"[email protected]" <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi,
following previous mails on Windows issues, I updated swi-prolog to
latest daily build and used 32 bit version.

My issue with 64bits version was related to mingw being 32 bits, there
is no 64 bits version (running on windows, only a version on linux to
generate windows 64).

I still face an issue however during 32 bit compilation for exe
generation. Generating ddl is ok.

my command:

swipl-ld -initfile onefile.pl -o myexe.exe -v onefile.c otherfile.pl
otherfile2.pl

Compilation (swipl.exe) ends in a:

Syntax error: Undefined character escape in quoted atom or string: '\$'
consult(['otherfile.pl',
'otherfile2.pl']),qsave_program('pltmp-2388.exe',[goal='\
** here **
$welcome',toplevel=prolog,init file='onefile.pl'])


the '\$welcome' to create the exe is not accepted.

If I set -shared, dll is correctly generated .

I do not know if this is a bug introduced in latest build or not as I
could not test this before.

Thanks

Olivier

-- 
gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
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.