[xml] making xsltproc for cygwin



On Win32, gcc by default produces executables with an '.exe' extension.

To build libxslt from CVS source on cygwin (unix emulation 
on Win32, http://cygwin.com or http://sources.redhat.com/cygwin), 
in xsltproc/Makefile.am, append $(EXEEXT) to xsltproc in the rules for 
xsltproc, like this

$ cvs diff -u Makefile.am 
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/libxslt/xsltproc/Makefile.am,v
retrieving revision 1.6
diff -u -r1.6 Makefile.am
--- Makefile.am 2001/11/05 13:34:01     1.6
+++ Makefile.am 2001/11/07 14:38:37
@@ -9,10 +9,10 @@
 all: xsltproc
 
 if WITH_DEBUGGER
-xsltproc: xsltproc.o ../libxslt/.libs/libxslt.a
../libexslt/.libs/libexslt.a ../breakpoint/.libs/libxsltbreakpoint.a
../../XML/.libs/libxml2.a
+xsltproc$(EXEEXT): xsltproc.o ../libxslt/.libs/libxslt.a
../libexslt/.libs/libexslt.a ../breakpoint/.libs/libxsltbreakpoint.a
../../XML/.libs/libxml2.a
        gcc -g -O -o xsltproc  xsltproc.o ../libxslt/.libs/libxslt.a
../breakpoint/.libs/libxsltbreakpoint.a ../libexslt/.libs/libexslt.a
../../XML/.libs/libxml2.a -lz -lm
 else
-xsltproc: xsltproc.o ../libxslt/.libs/libxslt.a
../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a
+xsltproc$(EXEEXT): xsltproc.o ../libxslt/.libs/libxslt.a
../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a
        gcc -g -O -o xsltproc  xsltproc.o ../libxslt/.libs/libxslt.a
../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a -lz -lm
 endif

Kind regards,
Peter Ring

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Tuesday, November 06, 2001 7:19 PM
To: xml gnome org
Subject: [xml] Release of libxml2-2.4.9


 I fixed another batch of catalog bugs introduced in 2.4.7, sigh ...
It includes the unlink() removal, and the xmlGetLineNo() improvement.

  ftp://xmlsoft.org/
  http://xmlsoft.org/

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]