diff options
author | Karl Berry <karl@freefriends.org> | 2009-10-11 23:26:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-10-11 23:26:52 +0000 |
commit | 20771ebb9029b3a928d919cd2d2a9162aa5920a8 (patch) | |
tree | 6b013dd5f59fe866646f962a0b480d30b414d502 /Master/source/asymptote | |
parent | d7553408dfea060f1873fed3969b04d33a966f4e (diff) |
cleanup
git-svn-id: svn://tug.org/texlive/trunk@15787 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/source/asymptote')
-rw-r--r-- | Master/source/asymptote/asymptote.README | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/source/asymptote/asymptote.README b/Master/source/asymptote/asymptote.README new file mode 100644 index 00000000000..4c4c6bd0d4d --- /dev/null +++ b/Master/source/asymptote/asymptote.README @@ -0,0 +1,59 @@ +(This file public domain.) + +The basic Asymptote (home page: http://asymptote.sf.net) sources are +included in the TL sources. We also include a number of Windows dll's +for Asymptote (and nothing else). + +Sources for cygwin1.dll: +ftp://ftp.cygwin.com/pub/cygwin/release/cygwin/cygwin-1.5.25-15.tar.bz2 + +Sources for freeglut.dll: +http://prdownloads.sourceforge.net/freeglut/freeglut-2.6.0-rc1.tar.gz + +Sources for glu32.dll: +ftp://oss.sgi.com/projects/ogl-sample/download/ogl-sample.20000807.tgz +(via http://oss.sgi.com/projects/ogl-sample/ + and http://www.geocities.com/vmelkon/glu.html) + + +Here are some explicit instructions, copied from +http://sourceforge.net/projects/asymptote/forums/forum/409349/topic/2979676?message=7457145 + +Date: 22 Jun 2009 01:31:13 -0600 +From: John Bowman bowman/at/math/ualberta/ca + +For the record, here are the latest instructions for building freeglut.dll +under CYGWIN. (The next release of Asymptote, version 1.78, will ship with +version 2.6.0-rc1 of freeglut.dll): + + +#!/bin/sh -x +#wget http://prdownloads.sourceforge.net/freeglut/freeglut-2.6.0-rc1.tar.gz +tar -zxf freeglut-2.6.0-rc1.tar.gz +cd freeglut-2.6.0 +patch -p1 < ../patches/freeglut-cygwin.patch +./configure --prefix=/usr --without-x +make -k +cd src +gcc -s -static -shared -o freeglut.dll *.o -Wl,--out-implib=libfreeglut.a -lglu32 -lopengl32 -lgdi32 -lwinmm +cp libfreeglut.a freeglut.dll /lib + +#OPTIONAL: To compile manually in src: +#gcc -O2 -c -D_WIN32 -DHAVE_CONFIG_H -DFREEGLUT_EXPORTS *.c -I.. -I../include + + + +Here ../patches/freeglut-cygwin.patch refers to: + +diff -ru freeglut-2.6.0/configure freeglut-2.6.0J/configure +--- freeglut-2.6.0/configure 2009-04-20 20:53:07.000000000 -0700 ++++ freeglut-2.6.0J/configure 2009-06-22 06:49:17.640625000 -0700 +@@ -21289,7 +21289,7 @@ + LIBXXF86VM= + LIBXI= + VERSION_INFO= +- EXPORT_FLAGS="-DFREEGLUT_EXPORTS" ++ EXPORT_FLAGS="-DFREEGLUT_EXPORTS -D_WIN32" + else + GL_LIBS="-lGL -lXext -lX11" + { echo "$as_me:$LINENO: checking for XF86VidModeSwitchToMode in -lXxf86vm" >&5 |