Re: Cygwin ping!
Olaf Weber <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
Jan Nieuwenhuizen writes:
> Thomas Esser writes:
>> Well, 6 weeks since the last beta does not mean that things are stable
>> / finnished already...
> Sounds like the perfect time for a polite ping/call for help!
Well, I haven't done much except ponder things where cross-compiling
is concerned. The present state of my thoughts on the matter is that
I'd like to simplify the build (and cross-building) a bit.
With Jan's current patch, a native libkpathsea has to be installed in
order to be able to do a cross-build, as some of the bootstrap
binaries require it. At least for now, I'd like to change this to
simply require that 'tangle', 'ctangle', 'otangle', and 'tie' be
installed. This simplifies matters because it means we're only
cross-compiling in texk/web2c and texk/web2c/lib and doing a host
build in texk/web2c/web2c.
The other main concern is that the windows idiom used to determine the
exports/imports, which currently is like this:
#ifdef KPSE_DLL
#ifdef MAKE_KPSE_DLL
#define KPSEDLL __declspec(dllexport)
#else /* !MAKE_KPSE_DLL */
#define KPSEDLL __declspec(dllimport)
#endif /* MAKE_KPSE_DLL */
#else /* !KPSE_DLL */
#define KPSEDLL
#endif /* KPSE_DLL */
The idea then is that if you're building on windows, and building
dlls there, you build libkpathsea with these defines:
-DKPSE_DLL -DMAKE_KPSE_DLL
and when linking with the libkpathsea dll you use
-DKPSE_DLL
(With the note that current makefiles do not provide any of these
defines.) I note that you're changing this idiom. Doesn't this work
for Cygwin?
--
Olaf Weber
(This space left blank for technical reasons.)