I am trying to rebuild Xaw3d and I keep getting stuck because something
is wrong with LIBRARY_VERSION or something related to it. See log
snippet below.
Basically the lib keeps getting created as libXaw3d-.dll.a and the DLL
as cygXaw3d-.dll because the version is blank. I have tried everything
from hard-coding SoRev and SOXAWREV in xc/lib/Xaw3d/Imakefile, to
passing LIBRARY_VERSION to "make Makefile", etc.
I do not understand where sed is pulling the version from.
Please help me to figure out what must be done in order to get Xaw3d
compiling into the correct library name.
This is the last thing holding me up from releasing xfig and transfix as
Cygwin setup.exe packages... so please help.
Harold
rm -f Xaw3d.def
cpp -traditional -DHAS_THREADS -DHAS_SHM -D__i386__
-DWIN32_LEAN_AND_MEAN -DX_LO
CALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE
-D_POSIX
_C_SOURCE=199309L -D_BSD_SOURCE
-D_SVID_SOURCE -
D_GNU_SOURCE -DLIBRARY_VERSION= <Xaw3d-def.cpp | sed -e '/^#
*[0-9][0-9]* *.
*$/d' -e '/^XCOMM$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >Xaw3d.def
rm -f libXaw3d-.dll.a
rm -f cygXaw3d-.dll
gcc -shared -Wl,--out-implib=libXaw3d-.dll.a -Wl,--enable-auto-import
--def Xaw3
d.def -Wl,--exclude-libs,ALL -o cygXaw3d-.dll AllWidgets.o AsciiSink.o
AsciiSrc.
o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o
Layout.o List.o
MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o
Simple.o
SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o StripChart.o
Text.o Text
Sink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Tip.o
Toggle.o
Tree.o Vendor.o Viewport.o Xaw3dP.o XawInit.o laygram.o laylex.o
MultiSrc.o
MultiSink.o XawIm.o XawI18n.o -L../../exports/lib -lXmu -lXt -lSM
-lICE -lXex
t -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11
Creating library file: libXaw3d-.dll.a
rm -f ../../exports/lib/libXaw3d-.dll.a
cd ../../exports/lib && ln -s ../../lib/Xaw3d/libXaw3d-.dll.a .
rm -f ../../exports/lib/libXaw3d.a
cd ../../exports/lib && ln -s libXaw3d-.dll.a libXaw3d.a
rm -f ../../exports/bin/cygXaw3d-.dll
cd ../../exports/bin && cp ../../lib/Xaw3d/cygXaw3d-.dll .
- Re: Xaw3d rebuild Harold L Hunt II
- Re: Xaw3d rebuild Harold L Hunt II