[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: build failure of octave-2.1.5x under Cygwin
From: |
Billinghurst, David (CALCRTS) |
Subject: |
RE: build failure of octave-2.1.5x under Cygwin |
Date: |
Thu, 19 Feb 2004 16:30:03 -0600 |
Here is how I have built octave 2.1.51 and 2.1.52.
First make yourself a shared libstdc++
- put the makefile below in an empty directory
- make dll
- make install
Edit configure as shown in diff below
Configure and build octave
- configure --disable-static --enable-shared
- make
- make check
- make install
You may like to delete or rename the libstdc++.dll.a unless
you want other c++ applications to use an untested shared lib.
#########################################################
# Makefile for cygwin shared libstdc++
#
OBJ = $(shell ar -t /usr/lib/libstdc++.a)
test:
echo $(OBJ)
$(OBJ): /usr/lib/libstdc++.a
ar -x $<
dll: libstdc++.dll.a cygstdc++.dll
libstdc++.dll.a cygstdc++.dll: $(OBJ)
gcc -shared -Wl,--export-all-symbols,--enable-auto-image-base \
-Wl,--out-implib,libstdc++.dll.a -o cygstdc++.dll $+
install:
cp libstdc++.dll.a /usr/local/lib
cp cygstdc++.dll /usr/local/bin
##################################################################
$ diff -u configure~ configure
--- configure~ 2003-11-26 02:38:26.000000000 +1100
+++ configure 2004-02-20 00:15:17.764494400 +1100
@@ -19422,7 +19422,7 @@
case "$canonical_host_type" in
- *-*-cygwin*|*-*-mingw32*)
+ *-*-mingw32*)
gp_names="pgnuplot pipe-gnuplot gnuplot"
gp_default=pgnuplot
;;
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: build failure of octave-2.1.5x under Cygwin,
Billinghurst, David (CALCRTS) <=