This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Motif for NT available ?
- To: Arlindo da Silva <dasilva at woodmore dot gsfc dot nasa dot gov>
- Subject: Re: Motif for NT available ?
- From: David Coe <david at coent dot demon dot co dot uk>
- Date: Tue, 24 Jun 1997 07:06:11 +0100
- CC: Andreas Bischoff <bischoff at ise dot com>, gnu-win32 at cygnus dot com
- References: <199706240216.WAA02715@woodmore.gsfc.nasa.gov>
Arlindo da Silva wrote:
>
> I was able to compile lesstif, the GNU version of lesstif, almost
> out of the tar file. I was able to create a static library (libXm.a)
> and run a few tests and it seemed to work allright. I tried to make
> a DLL out of it, following the instructions at:
>
> http://www.cs.mu.oz.au/~fjh/gnu-win32/how-to-build-dlls.html
>
> without much luck; may be someone with a little bit more understanding
> about DLLs could get it to work. (You absolutely need a DLL, the
> static library is approx. 13 megs, "Hello, World" runs about 2.5
> megs!). From the top of my head, here is what you need to do in order
> to build lesstif:
You need to take the debug option out to get the compile time and
library size down (under linux as well as gnu-win32). With -g deleted,
libXm.a is 1.14M.
The standard scripts *seem* to build the equivalent DLL and stub; but
there ends up being quite a few missing functions. I rather suspect the
nm, grep, sed stanza as manual nm inspection of (or linking to) the
parent static library shows them there but they don't even turn up in
the def file.
Alas, at the moment I'm not sure whether it's ignorance or beta software
that the problem :-(
--
Dr David Coe \=\
58 Fairlawn Drive, East Grinstead \=\ Tel +44 1342 326860
West Sussex, RH19 1NT, United Kingdom \=\ Fax +44 1342 316019
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".