delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/23/19:40:21

From: dasilva AT woodmore DOT gsfc DOT nasa DOT gov (Arlindo da Silva)
Subject: Re: Motif for NT available ?
23 Jun 1997 19:40:21 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706240216.WAA02715.cygnus.gnu-win32@woodmore.gsfc.nasa.gov>
Mime-Version: 1.0
Original-To: bischoff AT ise DOT com (Andreas Bischoff)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <199706231908.MAA00897@ws4.ise.com> from "Andreas Bischoff" at Jun 23, 97 12:08:58 pm
X-Mailer: ELM [version 2.4 PL21]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Andreas,

> 
> one of the programs we're porting to NT using cygwin32 requires
> Motif.
> Is there any Motif implementation available which will work together
> with cygwin32 ?
> 

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:

1) Get the X11R6.3 binaries and install them 
   ftp://niteroi.gsfc.nasa.gov/pub/win32/X11R6.3

2) Get the lesstif sources from
   http://www.lesstif.org/

3) Make the following adaptations:

   - ln -s /usr/X11R6.3 /usr/X11R6
   - change the configure script so that it does not have
     gcc -pipe, i.e., get rid of the -pipe
   - sh configure, then make -i ... it will run for hours!

   Some of the clients will break for some silly reason, if you
need them, fix the makefile manually.

   Good Luck and please let me know if you get a libXm.dll.

      Arlindo.


-- 

   *-----------------------------------------------------------------*
   |                                                                 |
   |             ^|^                     ARLINDO DA SILVA            |
   |              |                     212 Lexington Drive          |
   |             _|_                  Silver Spring, MD 20901        |
   |      @  ___|___|__                                              |
   |     _|_|__________|_______/    mailto://dasilva AT alum DOT mit DOT edu    |
   |    \  o o o o o o o  /                                          |
   |     \_______________/            Home: (301) 754-1121           |
   |  ^^^^^^^^^^^^^^^^^^^^^^^^         FAX: (301) 805-7959           |
   |                                                                 |
   *-----------------------------------------------------------------*
                                  

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019