This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP]: Xaw3D-1.5


--- Nicholas Wourms <nwourms@yahoo.com> wrote:
> Harold et. al.,
> 
> I have successfully built a static version of the 3D Athena Widget
> Library
> for Cygwin/XFree.  I would like to package this and provide it for
> everyone, but I have a better suggestion.  This package hasn't changed
> in
> 4 years.  I have e-mailed the maintainer, if he still works for the
> opengroup, to see what the status is.  Unfortunately, it seems like he
> no
> longer works there.  Given that, I believe this package would require
> miniscule maintenace, if none at all.  In the Readme, it advises that it
> should be built as part of the xc source tree.  I have managed to build
> it
> separately, but I still think it should be built as part of the xc tree
> to
> avoid a missing symbol or something along the same lines.  Either way,
> I'm
> willing to release this package.  So let me know how you wish to
> proceed,
> and I'll go from there.

A little bit more news...  After fiddling around with the Makefile, I've
built the library with a shared dll as well.  A question though, is having
a {library-name}-def.cc (i.e. libXpm-def.cc) for dll building really
necessary?  To build my dll, all I did was the following command (once the
libXaw3d.a library was built):

gcc -shared -o libXaw3d.dll -Wl,--out-implib=libXaw3d.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive
libXaw3d.a -Wl,--no-whole-archive -L/usr/X11R6/lib -lXmu -lXt -lSM -lICE
-lXpm -lXext -lX11

Is this a no-no, or what?  Running a "objdump -x" on the dll file shows
all the symbols as existing and ready for use...

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]