discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSKeyedUnarchiver


From: Sheldon Gill
Subject: Re: NSKeyedUnarchiver
Date: Tue, 10 Jan 2006 07:56:48 +0800
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Christopher Armstrong wrote:
On Mon, 2006-01-09 at 05:14 +0000, Richard Frith-Macdonald wrote:

It would be nice if someone could find a copy of libxml2 for windows which would work with GNUstep ... then we could add instructions for using it to the documentation in the gnustep-make package, so that windows users could have xml parsing support in gnustep, but at the moment I don't know how to get any version of libxml2 for windows to link/work with the base library.


I think have solved this one, and I have got libxml2 to compile (just
that GNUstep can't seem to find libxslt when I compile that). From what
I can remember, it seems that libiconv2 does not export all the required
symbols (at least not the binary versions used in our redistributables).
You seem to just need to regenerate the .a file

Okay, I think this is what I did (looking at my bash history from some
months ago).

Download latest libxml2 SOURCE, decompress.

cd /mingw/lib
mkdir backup-libiconv
mv libiconv.la backup-libiconv
mv libiconv.lib backup-libiconv
dlltool -D libiconv-2.dll -C -l libiconv.lib --export-all-symbols
-A ../bin/libiconv-2.dll

Now try compiling libxml2 and then gnustep-base (although gnustep-base
wants libxslt as well).

Now libxml2 should compile. The -A switch is the clincher; the @nn
stdcall aliases is what throws gcc. This seems to get the thing to
compile, but note, I haven't tried this for a while. libxslt seems to
compile as well, but I couldn't get gnustep-base to find it.

Let us know how you go.

I have libxml2 2.6.22 compiling and linking fine in my sandbox. I haven't yet run through enough testing to be confident of its operation but there shouldn't be any big issues. I am using the full libiconv from GNU-Win32 and had no problem with symbols and linking.


Regards,
Sheldon







reply via email to

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