gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: GCL on Cygwin NT


From: Camm Maguire
Subject: [Gcl-devel] Re: GCL on Cygwin NT
Date: 15 Feb 2002 14:36:42 -0500

OK, I've committed a fix into CVS which should keep the windows build
from clobbering the LIBS make variable, which is what I believe
prevented your final link.  

Please check it out, and let me know if you still see the problem.

Take care,

David Holmgren <address@hidden> writes:

> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
> 
> ------_=_NextPart_000_01C1B57B.E134E6F0
> Content-Type: text/plain;
>       charset="iso-8859-1"
> 
> Hi Camm - Here are the files.  I noticed the readline problem too, as I do
> have a readline.a in Cygwin.
> David
>  <<config.log>>  <<makefile>> 
> > -----Original Message-----
> > From:       Camm Maguire [SMTP:address@hidden
> > Sent:       Wednesday, February 13, 2002 8:32 PM
> > To: David Holmgren
> > Cc: address@hidden
> > Subject:    Re: GCL on Cygwin NT
> > 
> > Greetings!
> > 
> > Could you please send me the configure output?  It appears as though
> > your readline libs were not correctly detected and/or setup in the
> > makefile.  Mystery is why your even compiling the readline.o object in
> > this case.  
> > 
> > Would also like to see unixport/makefile, please.
> > 
> > take care,
> > 
> > David Holmgren <address@hidden> writes:
> > 
> > > This message is in MIME format. Since your mail reader does not
> > understand
> > > this format, some or all of this message may not be legible.
> > > 
> > > ------_=_NextPart_000_01C1ADC4.0C201930
> > > Content-Type: text/plain
> > > 
> > > Hi Camm,
> > > 
> > >  I've finally got the GCL 2.5 source code on my NT machine here.  I
> > tried
> > > compiling it today, and it got as far as beginning to build raw_gcl, but
> > it
> > > failed when it couldn't resolve some symbols in readline.c .  I've
> > included
> > > a complete error listing from that part of the make.  I hope that this
> > is
> > > useful.
> > > Dave Holmgren
> > >  <<errors.txt>> 
> > > Dr. David E. Holmgren,
> > > Imaging Scientist,
> > > SMART Technologies, Inc.
> > > Bay 2, 1440 28 Street NE,
> > > Calgary, AB, Canada
> > > T2A 7W6
> > > http://www.smarttech.com
> > > [403]-235-1452, ext. 251
> > > address@hidden
> > > 
> > > 
> > > ------_=_NextPart_000_01C1ADC4.0C201930
> > > Content-Type: text/plain;
> > >   name="errors.txt"
> > > Content-Transfer-Encoding: quoted-printable
> > > Content-Disposition: attachment;
> > >   filename="errors.txt"
> > > 
> > > (cd bin; make all)
> > > make[1]: Entering directory `//e/GCL-related/gcl-2.5.0/bin'
> > > make[1]: Nothing to be done for `all'.
> > > make[1]: Leaving directory `//e/GCL-related/gcl-2.5.0/bin'
> > > make mpfiles
> > > make[1]: Entering directory `//e/GCL-related/gcl-2.5.0'
> > > make[1]: Nothing to be done for `mpfiles'.
> > > make[1]: Leaving directory `//e/GCL-related/gcl-2.5.0'
> > > rm -f o/cmpinclude.h ; ln h/cmpinclude.h o
> > > (cd o; make all)
> > > make[1]: Entering directory `//e/GCL-related/gcl-2.5.0/o'
> > > make new_init.c   decls1 "INI_FILES=3D`echo main.o alloc.o gbc.o
> > bitop.o =
> > > typespec.o eval.o macros.o lex.o bds.o frame.o predicate.o reference.o =
> > > assignment.o bind.o let.o conditional.o block.o iteration.o mapfun.o =
> > > prog.o multival.o catch.o symbol.o cfun.o cmpaux.o package.o big.o =
> > > number.o num_pred.o num_comp.o num_arith.o num_sfun.o num_co.o =
> > > num_log.o num_rand.o earith.o character.o  sequence.o list.o hash.o =
> > > array.o string.o regexpr.o structure.o toplevel.o file.o read.o backq.o
> > =
> > > print.o format.o pathname.o unixfsys.o unixfasl.o error.o unixtime.o =
> > > unixsys.o unixsave.o funlink.o fat_string.o ./run_process.o nfunlink.o =
> > > usig.o usig2.o utils.o makefun.o sockets.o clxsocket.o init_pari.o =
> > > nsocket.o   ./sfasl.o  readline.o | sed -e 's:\.o:.ini:g'  -e =
> > > 's:new_init.o::g' `"
> > > make[2]: Entering directory `//e/GCL-related/gcl-2.5.0/o'
> > > make[2]: `new_init.c' is up to date.
> > > echo '#include "make-decl.h"' > foo.c
> > > cat main.ini alloc.ini gbc.ini bitop.ini typespec.ini eval.ini =
> > > macros.ini lex.ini bds.ini frame.ini predicate.ini reference.ini =
> > > assignment.ini bind.ini let.ini conditional.ini block.ini iteration.ini
> > =
> > > mapfun.ini prog.ini multival.ini catch.ini symbol.ini cfun.ini =
> > > cmpaux.ini package.ini big.ini number.ini num_pred.ini num_comp.ini =
> > > num_arith.ini num_sfun.ini num_co.ini num_log.ini num_rand.ini =
> > > earith.ini character.ini sequence.ini list.ini hash.ini array.ini =
> > > string.ini regexpr.ini structure.ini toplevel.ini file.ini read.ini =
> > > backq.ini print.ini format.ini pathname.ini unixfsys.ini unixfasl.ini =
> > > error.ini unixtime.ini unixsys.ini unixsave.ini funlink.ini =
> > > fat_string.ini ./run_process.ini nfunlink.ini usig.ini usig2.ini =
> > > utils.ini makefun.ini sockets.ini clxsocket.ini init_pari.ini =
> > > nsocket.ini ./sfasl.ini readline.ini >> foo.c
> > > gcc  -fwritable-strings  -DVOL=3Dvolatile  =
> > > -I//e/GCL-related/gcl-2.5.0/o -fsigned-char -E -I../h/ foo.c | sed -n =
> > > -e '/#/d' -e '/DO_/d' -e '/[a-zA-Z;]/p' > tmpx
> > > ../xbin/move-if-changed mv tmpx ../h/new_decl.h
> > > tmpx and ../h/new_decl.h are identical
> > > make[2]: Leaving directory `//e/GCL-related/gcl-2.5.0/o'
> > > make[1]: Leaving directory `//e/GCL-related/gcl-2.5.0/o'
> > > (cd lsp; make all)
> > > make[1]: Entering directory `//e/GCL-related/gcl-2.5.0/lsp'
> > > make[1]: Nothing to be done for `all'.
> > > make[1]: Leaving directory `//e/GCL-related/gcl-2.5.0/lsp'
> > > (cd cmpnew; make all)
> > > make[1]: Entering directory `//e/GCL-related/gcl-2.5.0/cmpnew'
> > > make[1]: Nothing to be done for `all'.
> > > make[1]: Leaving directory `//e/GCL-related/gcl-2.5.0/cmpnew'
> > > (cd unixport; make saved_gcl)
> > > make[1]: Entering directory `//e/GCL-related/gcl-2.5.0/unixport'
> > > gcc  -fwritable-strings  -DVOL=3Dvolatile  =
> > > -I//e/GCL-related/gcl-2.5.0/o -fsigned-char  -o raw_gcl.exe =
> > > ../o/firstfile.o ../o/main.o ../o/alloc.o ../o/gbc.o ../o/bitop.o =
> > > ../o/typespec.o ../o/eval.o ../o/macros.o ../o/lex.o ../o/bds.o =
> > > ../o/frame.o ../o/predicate.o ../o/reference.o ../o/assignment.o =
> > > ../o/bind.o ../o/let.o ../o/conditional.o ../o/block.o =
> > > ../o/iteration.o ../o/mapfun.o ../o/prog.o ../o/multival.o =
> > > ../o/catch.o ../o/symbol.o ../o/cfun.o ../o/cmpaux.o ../o/package.o =
> > > ../o/big.o ../o/number.o ../o/num_pred.o ../o/num_comp.o =
> > > ../o/num_arith.o ../o/num_sfun.o ../o/num_co.o ../o/num_log.o =
> > > ../o/num_rand.o ../o/earith.o ../o/character.o  ../o/sequence.o =
> > > ../o/list.o ../o/hash.o ../o/array.o ../o/string.o ../o/regexpr.o =
> > > ../o/structure.o ../o/toplevel.o ../o/file.o ../o/read.o ../o/backq.o =
> > > ../o/print.o ../o/format.o ../o/pathname.o ../o/unixfsys.o =
> > > ../o/unixfasl.o ../o/error.o ../o/unixtime.o ../o/unixsys.o =
> > > ../o/unixsave.o ../o/funlink.o ../o/fat_string.o ../o/run_process.o =
> > > ../o/nfunlink.o ../o/usig.o ../o/usig2.o ../o/utils.o ../o/makefun.o =
> > > ../o/sockets.o  ../o/clxsocket.o ../o/init_pari.o ../o/nsocket.o =
> > > ../o/new_init.o ../gmp/libgmp.a ../o/sfasl.o  ../o/readline.o =
> > > ../lsp/defmacro.o ../lsp/evalmacros.o ../lsp/top.o ../lsp/module.o =
> > > ../lsp/predlib.o ../lsp/setf.o ../lsp/arraylib.o ../lsp/assert.o =
> > > ../lsp/defstruct.o ../lsp/describe.o ../lsp/iolib.o ../lsp/listlib.o =
> > > ../lsp/mislib.o ../lsp/numlib.o ../lsp/packlib.o ../lsp/seq.o =
> > > ../lsp/seqlib.o ../lsp/trace.o ../lsp/sloop.o  ../lsp/debug.o =
> > > ../lsp/serror.o ../lsp/info.o ../lsp/destructuring_bind.o =
> > > ../lsp/defpackage.o ../lsp/make_defpackage.o ../lsp/readline.o =
> > > ../cmpnew/cmpinline.o ../cmpnew/cmputil.o ../cmpnew/cmptype.o =
> > > ../cmpnew/cmpbind.o ../cmpnew/cmpblock.o ../cmpnew/cmpcall.o =
> > > ../cmpnew/cmpcatch.o ../cmpnew/cmpenv.o ../cmpnew/cmpeval.o =
> > > ../cmpnew/cmpflet.o ../cmpnew/cmpfun.o ../cmpnew/cmpif.o =
> > > ../cmpnew/cmplabel.o ../cmpnew/cmplam.o ../cmpnew/cmplet.o =
> > > ../cmpnew/cmploc.o ../cmpnew/cmpmap.o ../cmpnew/cmpmulti.o =
> > > ../cmpnew/cmpspecial.o ../cmpnew/cmptag.o ../cmpnew/cmptop.o =
> > > ../cmpnew/cmpvar.o ../cmpnew/cmpvs.o ../cmpnew/cmpwt.o  sys_gcl.o =
> > > ../o/lastfile.o  -lm   ../o/gcllib.a
> > > ../o/alloc.o(.text+0x1cfd):alloc.c: undefined reference to =
> > > `in_bfd_init'
> > > ../o/readline.o(.text+0xb7):readline.c: undefined reference to =
> > > `_imp__completion_matches'
> > > ../o/readline.o(.text+0x147):readline.c: undefined reference to =
> > > `_imp__readline'
> > > ../o/readline.o(.text+0x16f):readline.c: undefined reference to =
> > > `_imp__add_history'
> > > ../o/readline.o(.text+0x3b8):readline.c: undefined reference to =
> > > `_imp__rl_readline_name'
> > > ../o/readline.o(.text+0x3d1):readline.c: undefined reference to =
> > > `_imp__rl_readline_name'
> > > ../o/readline.o(.text+0x3e5):readline.c: undefined reference to =
> > > `_imp__rl_readline_name'
> > > ../o/readline.o(.text+0x40d):readline.c: undefined reference to =
> > > `_imp__rl_readline_name'
> > > ../o/readline.o(.text+0x423):readline.c: undefined reference to =
> > > `_imp__rl_readline_name'
> > > ../o/readline.o(.text+0x42e):readline.c: undefined reference to =
> > > `_imp__rl_initialize'
> > > ../o/readline.o(.text+0x65b):readline.c: undefined reference to =
> > > `_imp__rl_readline_name'
> > > ../o/readline.o(.text+0x666):readline.c: undefined reference to =
> > > `_imp__rl_attempted_completion_function'
> > > collect2: ld returned 1 exit status
> > > make[1]: *** [raw_gcl] Error 1
> > > make[1]: Leaving directory `//e/GCL-related/gcl-2.5.0/unixport'
> > > make: *** [all] Error 2
> > > 
> > > ------_=_NextPart_000_01C1ADC4.0C201930--
> > > 
> > > 
> > 
> > -- 
> > Camm Maguire                                                address@hidden
> > ==========================================================================
> > "The earth is but one country, and mankind its citizens."  --  Baha'u'llah
> 
> ------_=_NextPart_000_01C1B57B.E134E6F0
> Content-Type: application/octet-stream;
>       name="config.log"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
>       filename="config.log"
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:548: checking system version (for dynamic loading)
> configure:579: checking for gcc
> configure:692: checking whether the C compiler (gcc  ) works
> configure:708: gcc -o conftest    conftest.c  1>&5
> configure:734: checking whether the C compiler (gcc  ) is a =
> cross-compiler
> configure:739: checking whether we are using GNU C
> configure:748: gcc -E conftest.c
> configure:767: checking whether gcc accepts -g
> configure:811: checking finding DBEGIN
> configure:828: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:850: checking finding CSTACK_ADDRESS
> configure:867: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:889: checking sizeof long long int
> configure:905: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:1003: checking for getcwd
> configure:1031: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:1058: checking for getwd
> configure:1086: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:1111: checking for uname
> configure:1139: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:1163: checking for gettimeofday
> configure:1191: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:1217: checking how to run the C preprocessor
> configure:1238: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:1300: checking for sys/ioctl.h
> configure:1310: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:1350: checking for BSDgettimeofday
> configure:1378: gcc -o conftest -g -O2   conftest.c  1>&5
> /cygdrive/c/TEMP/ccfmJFQ7.o(.text+0xc): undefined reference to =
> `BSDgettimeofday'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 1355 "configure"=0A=
> #include "confdefs.h"=0A=
> /* System header to define __stub macros and hopefully few =
> prototypes,=0A=
>     which can conflict with char BSDgettimeofday(); below.  */=0A=
> #include <assert.h>=0A=
> /* Override any gcc2 internal prototype to avoid an error.  */=0A=
> /* We use char because int might match the return type of a gcc2=0A=
>     builtin and then its argument prototype would still apply.  */=0A=
> char BSDgettimeofday();=0A=
> =0A=
> int main() {=0A=
> =0A=
> /* The GNU C library defines this for functions which it implements=0A=
>     to always fail with ENOSYS.  Some functions are actually named=0A=
>     something starting with __ and the normal name is an alias.  */=0A=
> #if defined (__stub_BSDgettimeofday) || defined =
> (__stub___BSDgettimeofday)=0A=
> choke me=0A=
> #else=0A=
> BSDgettimeofday();=0A=
> #endif=0A=
> =0A=
> ; return 0; }=0A=
> configure:1399: checking for gettimeofday
> configure:1453: checking for gettimeofday declaration
> configure:1478: checking for sin in -lm
> configure:1497: gcc -o conftest -g -O2   conftest.c -lm   1>&5
> configure:1490: warning: conflicting types for built-in function `sin'
> configure:1538: checking for sockets
> configure:1541: checking for connect
> configure:1569: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
> configure:1684: checking for gethostbyname
> configure:1712: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
> configure:1769: checking for main in -lreadline
> configure:1784: gcc -o conftest -g -O2   conftest.c -lreadline   -lm =
> 1>&5
> configure:1800: checking for main in -ltermcap
> configure:1815: gcc -o conftest -g -O2   conftest.c -ltermcap   -lm =
> 1>&5
> configure:1848: checking for bfd.h
> configure:1858: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:1875: checking for bfd_init in -lbfd
> configure:1894: gcc -o conftest -g -O2   conftest.c -lbfd -liberty  -lm =
> -lreadline -ltermcap 1>&5
> configure:1929: checking For network code for nsocket.c
> configure:1958: gcc -o conftest -g -O2   conftest.c  -lm -lreadline =
> -ltermcap -lbfd -liberty 1>&5
> configure:1975: checking check for listen using fcntl
> configure:1990: gcc -c -g -O2  conftest.c 1>&5
> configure:2009: checking for profil
> configure:2037: gcc -o conftest -g -O2   conftest.c  -lm -lreadline =
> -ltermcap -lbfd -liberty 1>&5
> /cygdrive/c/TEMP/ccpqJ6Zp.o(.text+0xc): undefined reference to `profil'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2014 "configure"=0A=
> #include "confdefs.h"=0A=
> /* System header to define __stub macros and hopefully few =
> prototypes,=0A=
>     which can conflict with char profil(); below.  */=0A=
> #include <assert.h>=0A=
> /* Override any gcc2 internal prototype to avoid an error.  */=0A=
> /* We use char because int might match the return type of a gcc2=0A=
>     builtin and then its argument prototype would still apply.  */=0A=
> char profil();=0A=
> =0A=
> int main() {=0A=
> =0A=
> /* The GNU C library defines this for functions which it implements=0A=
>     to always fail with ENOSYS.  Some functions are actually named=0A=
>     something starting with __ and the normal name is an alias.  */=0A=
> #if defined (__stub_profil) || defined (__stub___profil)=0A=
> choke me=0A=
> #else=0A=
> profil();=0A=
> #endif=0A=
> =0A=
> ; return 0; }=0A=
> configure:2062: checking for setenv
> configure:2090: gcc -o conftest -g -O2   conftest.c  -lm -lreadline =
> -ltermcap -lbfd -liberty 1>&5
> configure:2170: checking for _cleanup
> configure:2198: gcc -o conftest -g -O2   conftest.c  -lm -lreadline =
> -ltermcap -lbfd -liberty 1>&5
> /cygdrive/c/TEMP/cc4deuQF.o(.text+0xc): undefined reference to =
> `_cleanup'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2175 "configure"=0A=
> #include "confdefs.h"=0A=
> /* System header to define __stub macros and hopefully few =
> prototypes,=0A=
>     which can conflict with char _cleanup(); below.  */=0A=
> #include <assert.h>=0A=
> /* Override any gcc2 internal prototype to avoid an error.  */=0A=
> /* We use char because int might match the return type of a gcc2=0A=
>     builtin and then its argument prototype would still apply.  */=0A=
> char _cleanup();=0A=
> =0A=
> int main() {=0A=
> =0A=
> /* The GNU C library defines this for functions which it implements=0A=
>     to always fail with ENOSYS.  Some functions are actually named=0A=
>     something starting with __ and the normal name is an alias.  */=0A=
> #if defined (__stub__cleanup) || defined (__stub____cleanup)=0A=
> choke me=0A=
> #else=0A=
> _cleanup();=0A=
> #endif=0A=
> =0A=
> ; return 0; }=0A=
> configure:2252: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O
> configure:2308: checking host system type
> configure:2478: checking check for SV_ONSTACK
> configure:2489: gcc -c -g -O2  conftest.c 1>&5
> configure:2482: `SV_ONSTACK' undeclared here (not in a function)
> configure: failed program was:
> #line 2480 "configure"=0A=
> #include "confdefs.h"=0A=
> #include <signal.h>=0A=
> int joe=3DSV_ONSTACK;=0A=
> =0A=
> int main() {=0A=
> =0A=
> ; return 0; }=0A=
> configure:2507: checking check for SIGSYS
> configure:2518: gcc -c -g -O2  conftest.c 1>&5
> configure:2536: checking check for SIGEMT
> configure:2547: gcc -c -g -O2  conftest.c 1>&5
> configure:2571: checking for asm/sigcontext.h
> configure:2581: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:2577: asm/sigcontext.h: No such file or directory
> configure: failed program was:
> #line 2576 "configure"=0A=
> #include "confdefs.h"=0A=
> #include <asm/sigcontext.h>=0A=
> configure:2611: checking for asm/signal.h
> configure:2621: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:2617: asm/signal.h: No such file or directory
> configure: failed program was:
> #line 2616 "configure"=0A=
> #include "confdefs.h"=0A=
> #include <asm/signal.h>=0A=
> configure:2659: gcc -c -g -O2  conftest.c 1>&5
> configure:2740: checking for emacs
> configure:2788: checking emacs site lisp directory
> configure:2811: checking emacs default.el
> configure:2840: checking emacs info/dir
> configure:2854: checking for tcl/tk
> configure:2877: checking for tclsh
> configure:2935: checking for wish
> configure:3001: checking for main in -llieee
> configure:3016: gcc -o conftest -g -O2   conftest.c -llieee   -lm =
> -lreadline -ltermcap -lbfd -liberty 1>&5
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-1/../../../../i686-pc-cygwin/bin/=
> ld: cannot find -llieee
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 3009 "configure"=0A=
> #include "confdefs.h"=0A=
> =0A=
> int main() {=0A=
> main()=0A=
> ; return 0; }=0A=
> configure:3041: checking for dlopen in -ldl
> configure:3060: gcc -o conftest -g -O2   conftest.c -ldl   -lm =
> -lreadline -ltermcap -lbfd -liberty 1>&5
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-1/../../../../i686-pc-cygwin/bin/=
> ld: cannot find -ldl
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 3049 "configure"=0A=
> #include "confdefs.h"=0A=
> /* Override any gcc2 internal prototype to avoid an error.  */=0A=
> /* We use char because int might match the return type of a gcc2=0A=
>     builtin and then its argument prototype would still apply.  */=0A=
> char dlopen();=0A=
> =0A=
> int main() {=0A=
> dlopen()=0A=
> ; return 0; }=0A=
> configure:3142: checking alloca
> configure:3151: gcc -o conftest -g -O2   conftest.c  -lm -lreadline =
> -ltermcap -lbfd -liberty 1>&5
> configure: In function `main':
> configure:3148: `NULL' undeclared (first use in this function)
> configure:3148: (Each undeclared identifier is reported only once
> configure:3148: for each function it appears in.)
> configure: failed program was:
> #line 3147 "configure"=0A=
> #include "confdefs.h"=0A=
> int main() { exit(alloca(500) !=3D NULL ? 0 : 1);}=0A=
> configure:3241: checking use_gmp=3Dyes, doing configure in gmp =
> directory
> configure:3263: checking Checking for buggy gcc version from redhat
> 
> ------_=_NextPart_000_01C1B57B.E134E6F0
> Content-Type: application/octet-stream;
>       name="makefile"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
>       filename="makefile"
> 
> =0A=
> HDIR  =3D ../h=0A=
> ODIR  =3D ../o=0A=
> LSPDIR        =3D ../lsp=0A=
> CMPDIR        =3D ../cmpnew=0A=
> PORTDIR       =3D ../unixport=0A=
> MPDIR =3D ../mp=0A=
> GMP_DIR       =3D ../gmp/=0A=
> =0A=
> CFLAGS        =3D -c $(DEFS) -I$(HDIR)=0A=
> LDCC    =3D $(CC) -g=0A=
> LIBC  =3D -lc=0A=
> LIBS  =3D -lm # -lpixrect -lc=0A=
> OLDDATE =3D "DATE"=0A=
> GCLIB =3D $(ODIR)/gcllib.a=0A=
> MPFILES=3D $(MPDIR)/mpi.o $(MPDIR)/mp2.o  $(MPDIR)/libmport.a=0A=
> MPFILES=3D $(MPDIR)/mpi.o $(MPDIR)/mp2.o  $(MPDIR)/libmport.a=0A=
> INIT_SYSTEM_LSP=3Dinit_$(SYSTEM).lsp=0A=
> SPECIAL_RSYM =3D rsym.c=0A=
> =0A=
> # begin makedefs=0A=
> 
> # use=3Dgnuwin95
> 
> # for main link of raw_gcl
> LIBS=3D -lm -lreadline -ltermcap -lbfd -liberty
> 
> #The multi precision library stuff
> MPFILES=3D$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a
> 
> 
> # root for the installation, eg /usr/local
> # This would cause make install to create /usr/local/bin/gcl and
> # /usr/local/lib/gcl-2-??/* with some basic files.
> prefix=3D/usr/local
> 
> # where to place the info files
> INFO_DIR=3De:/emacs-20.7/info/
> 
> # where to put emacs lisp files.
> EMACS_SITE_LISP=3De:/emacs-20.7/site-lisp
> 
> # the default.el file
> EMACS_DEFAULT_EL=3De:/emacs-20.7/site-lisp/default.el
> 
> # numerous TCL/TK variables culled from the tkConfig.sh and =
> tclConfig.sh
> # if these are found.
> TK_CONFIG_PREFIX=3Dunknown
> TK_LIBRARY=3D
> TCL_LIBRARY=3D
> TK_XINCLUDES=3D
> TK_INCLUDE=3D
> TCL_INCLUDE=3D
> TK_LIB_SPEC=3D
> TK_BUILD_LIB_SPEC=3D
> TK_XLIBSW=3D
> TK_XINCLUDES=3D
> TCL_LIB_SPEC=3D
> TCL_DL_LIBS=3D
> TCL_LIBS=3D
> 
> NOTIFY=3Dyes
> GCC=3Dgcc
> 
> RL_OBJS=3Dreadline.o
> 
> RL_LIB=3Dlsp/readline.o
> 
> GCLDIR=3D//e/GCL-related/gcl-2.5.0
> SHELL=3D/bin/sh
> MACHINE=3Dgnuwin95
> =0A=
> =0A=
> # Machine dependent makefile definitions for intel 386,486 running =
> linux=0A=
> =0A=
> # note using /bin/sh (ie a copy of ash.exe) will fail if a very LONG =
> command=0A=
> # line is given, eg when linking maxima.  bash has more stack.=0A=
> SHELL=3Dbash=0A=
> =0A=
> LBINDIR=3D/usr/local/bin=0A=
> =0A=
> OFLAG =3D  -O =0A=
> LIBS  =3D -lm =0A=
> LIBC  =3D=0A=
> =0A=
> ODIR_DEBUG=3D -O4=0A=
> ODIR_DEBUG=3D =0A=
> =0A=
> # This CC string will be used for compilation of the system,=0A=
> # and also in the compiler::*cc* variable for later compilation of=0A=
> # lisp files.=0A=
> CC =3D gcc  -fwritable-strings  -DVOL=3Dvolatile  -I$(GCLDIR)/o =
> -fsigned-char=0A=
> AS=3D as      =0A=
> AR=3D ar q=0A=
> RANLIB=3D ranlib=0A=
> =0A=
> =0A=
> LDCC=3D${CC}=0A=
> =0A=
> # Enable the fastloading mechanism which does not use ld -A=0A=
> # requires c/rel_.. machine dependent code.=0A=
> =0A=
> RSYM  =3D rsym=0A=
> SFASL =3D $(ODIR)/sfasl.o=0A=
> =0A=
> =0A=
> =0A=
> MPFILES=3D $(MPDIR)/mpi-386-winnt.o   $(MPDIR)/libmport.a=0A=
> MPFILES=3D $(MPDIR)/mpi.o   $(MPDIR)/libmport.a=0A=
> FIRST_FILE=3D$(ODIR)/firstfile.o=0A=
> LAST_FILE=3D$(ODIR)/lastfile.o=0A=
> =0A=
> =0A=
> =0A=
> # When using SFASL it is good to have (si::build-symbol-table)=0A=
> INITFORM=3D(si::build-symbol-table)=0A=
> =0A=
> # Use symbolic links=0A=
> SYMB=3D-s=0A=
> APPEND=3D../bin/append=0A=
> # suffix for executables=0A=
> EXE=3D.exe=0A=
> LIBFILES=3Dbsearch.o=0A=
> =0A=
> # the  make to use for saved_kcp the profiler.=0A=
> KCP=3Dkcp-bsd=0A=
> =0A=
> # using gcc so dont need=0A=
> GNULIB1=3D=0A=
> 
> MPFILES=3D${GMP_DIR}libgmp.a
> 
> 
> # end makedefs
> =0A=
> LIBS1=3D $(LIBS) $(LIBSYSTEM) $(GCLIB)=0A=
> =0A=
> OD=3D$(ODIR)/=0A=
> NEW_INIT=3D$(OD)new_init.o=0A=
> =0A=
> =0A=
> OBJS  =3D  $(OD)main.o $(OD)alloc.o $(OD)gbc.o \=0A=
>       $(OD)bitop.o $(OD)typespec.o $(OD)eval.o \=0A=
>       $(OD)macros.o $(OD)lex.o $(OD)bds.o \=0A=
>       $(OD)frame.o $(OD)predicate.o $(OD)reference.o \=0A=
>       $(OD)assignment.o $(OD)bind.o $(OD)let.o \=0A=
>       $(OD)conditional.o $(OD)block.o $(OD)iteration.o \=0A=
>       $(OD)mapfun.o $(OD)prog.o $(OD)multival.o \=0A=
>       $(OD)catch.o $(OD)symbol.o $(OD)cfun.o \=0A=
>       $(OD)cmpaux.o $(OD)package.o $(OD)big.o \=0A=
>       $(OD)number.o $(OD)num_pred.o $(OD)num_comp.o \=0A=
>       $(OD)num_arith.o $(OD)num_sfun.o $(OD)num_co.o \=0A=
>       $(OD)num_log.o $(OD)num_rand.o $(OD)earith.o \=0A=
>       $(OD)character.o  $(OD)sequence.o \=0A=
>       $(OD)list.o $(OD)hash.o $(OD)array.o \=0A=
>       $(OD)string.o $(OD)regexpr.o $(OD)structure.o $(OD)toplevel.o \=0A=
>       $(OD)file.o $(OD)read.o $(OD)backq.o \=0A=
>       $(OD)print.o $(OD)format.o $(OD)pathname.o \=0A=
>       $(OD)unixfsys.o $(OD)unixfasl.o $(OD)error.o \=0A=
>       $(OD)unixtime.o $(OD)unixsys.o $(OD)unixsave.o \=0A=
>       $(OD)funlink.o  \=0A=
>       $(OD)fat_string.o ${ODIR}/run_process.o \=0A=
>       $(OD)nfunlink.o $(OD)usig.o $(OD)usig2.o $(OD)utils.o \=0A=
>       $(OD)makefun.o $(OD)sockets.o  $(OD)clxsocket.o  \=0A=
>       $(OD)init_pari.o $(OD)nsocket.o $(NEW_INIT) $(MPFILES) $(SFASL) =
> $(EXTRAS) \=0A=
>       $(addprefix $(OD),$(RL_OBJS))=0A=
> =0A=
> LSPOBJS       =3D $(LSPDIR)/defmacro.o $(LSPDIR)/evalmacros.o $(LSPDIR)/top.o 
> =
> \=0A=
>       $(LSPDIR)/module.o $(LSPDIR)/predlib.o $(LSPDIR)/setf.o \=0A=
>       $(LSPDIR)/arraylib.o $(LSPDIR)/assert.o $(LSPDIR)/defstruct.o \=0A=
>       $(LSPDIR)/describe.o $(LSPDIR)/iolib.o $(LSPDIR)/listlib.o \=0A=
>       $(LSPDIR)/mislib.o $(LSPDIR)/numlib.o $(LSPDIR)/packlib.o \=0A=
>       $(LSPDIR)/seq.o $(LSPDIR)/seqlib.o $(LSPDIR)/trace.o \=0A=
>       $(LSPDIR)/sloop.o  $(LSPDIR)/debug.o \=0A=
>       $(LSPDIR)/serror.o $(LSPDIR)/info.o $(LSPDIR)/destructuring_bind.o =
> \=0A=
>         $(LSPDIR)/defpackage.o $(LSPDIR)/make_defpackage.o \=0A=
>       $(addprefix $(LSPDIR)/,$(RL_OBJS))=0A=
> =0A=
> CMPOBJS       =3D $(CMPDIR)/cmpinline.o $(CMPDIR)/cmputil.o =
> $(CMPDIR)/cmptype.o \=0A=
>       $(CMPDIR)/cmpbind.o $(CMPDIR)/cmpblock.o $(CMPDIR)/cmpcall.o \=0A=
>       $(CMPDIR)/cmpcatch.o $(CMPDIR)/cmpenv.o $(CMPDIR)/cmpeval.o \=0A=
>       $(CMPDIR)/cmpflet.o $(CMPDIR)/cmpfun.o $(CMPDIR)/cmpif.o \=0A=
>       $(CMPDIR)/cmplabel.o $(CMPDIR)/cmplam.o $(CMPDIR)/cmplet.o \=0A=
>       $(CMPDIR)/cmploc.o $(CMPDIR)/cmpmap.o $(CMPDIR)/cmpmulti.o \=0A=
>       $(CMPDIR)/cmpspecial.o $(CMPDIR)/cmptag.o $(CMPDIR)/cmptop.o \=0A=
>       $(CMPDIR)/cmpvar.o $(CMPDIR)/cmpvs.o $(CMPDIR)/cmpwt.o=0A=
> =0A=
> SYSTEM=3Dgcl=0A=
> =0A=
> $(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.lsp=0A=
>       cp $< address@hidden
>       [ "$(RL_OBJS)" =3D "" ] || \=0A=
>               echo "(AUTOLOAD 'init-readline '|readline|)" >>address@hidden
> =0A=
> saved_$(SYSTEM):raw_$(SYSTEM) $(RSYM) $(INIT_SYSTEM_LSP) \=0A=
>               $(CMPDIR)/cmpmain.lsp \=0A=
>               $(CMPDIR)/lfun_list.lsp \=0A=
>               $(CMPDIR)/cmpopt.lsp ${HDIR}/cmpinclude.h \=0A=
>               $(LSPDIR)/auto_new.lsp=0A=
> # if you are wfs on rascal increment the minor version number.=0A=
>       ../xbin/if-exists /usr/u9/wfs/schelter "../xbin/inc-version"=0A=
>       ../xbin/if-exists saved_$(SYSTEM) "rm -f saved_$(SYSTEM)"=0A=
>       cat $(INIT_SYSTEM_LSP) | \=0A=
>       sed -e "s=07$(OLDDATE)=07Version(`cat ../majvers`.`cat ../minvers`) =
> `date`=07g" \=0A=
>       -e 's=07saved_gcl=07saved_$(SYSTEM)=07g' \=0A=
>       -e 's=07links t)=07links t)(setq compiler::*cc* =
> "$(CC)")$(INITFORM)=07g' \=0A=
>       -e "s=07GCLDIR=07${GCLDIR}=07g" \=0A=
>       -e "s=07(defun lisp-imp=07(setq si::*gcl-version* `cat ../minvers` =
> si::*gcl-major-version* `cat ../majvers`)(defun lisp-imp=07g" \=0A=
>       -e "s:GCL-1:GCL-"`cat ../majvers`":g"   > foo =0A=
>       $(PORTDIR)/raw_$(SYSTEM)$(EXE) $(PORTDIR)/ -libdir ${GCLDIR}/ < foo=0A=
> =0A=
> ${RSYM}:      ${SPECIAL_RSYM} $(HDIR)/mdefs.h=0A=
>       $(LDCC) $(DEFS) -g -I../h -o ${RSYM} ${SPECIAL_RSYM}=0A=
> =0A=
> $(HDIR)/mdefs.h: $(HDIR)/include.h=0A=
>       cat $(HDIR)/include.h | sed -e "/include/d" > $(HDIR)/mdefs.h=0A=
> =0A=
> saved_kcn:    =0A=
>       make -f make_kcn "MPFILES=3D$(MPFILES)"=0A=
> =0A=
> FOR_RAW=3D $(FIRST_FILE) $(OBJS) $(LSPOBJS) $(CMPOBJS) $(SYSTEM_OBJS) =
> sys_gcl.o $(LAST_FILE)=0A=
> =0A=
> raw_$(SYSTEM):  $(FOR_RAW)=0A=
>       $(LDCC)  -o raw_$(SYSTEM)$(EXE) $(FOR_RAW) ${LIBC} $(LIBS1)=0A=
> =0A=
> sys_gcl.o:    sys_gcl.c ${HDIR}/object.h ${HDIR}/config.h=0A=
>       $(CC) $(CFLAGS) sys_gcl.c=0A=
> =0A=
> init_gcp.lsp:=0A=
>       ln init_gcl.lsp init_gcp.lsp=0A=
> sys_gcp.o: sys_gcl.o=0A=
>       ln sys_gcl.o sys_gcp.o=0A=
> =0A=
> gcp-sun:      gcrt0-mod.o=0A=
>       (cd ../go ; make  "CFLAGS =3D -I../h -pg -g -c")=0A=
>       make -e "SYSTEM=3Dgcp" "ODIR=3D../go"  "EXTRAS=3D gcrt0-mod.o" =
> "LDCC=3D${LDCC}" "CC =3D cc -DVOL=3D -pg"=0A=
> =0A=
> gcp-bsd: ncrt0.o=0A=
>       (cd ../go ; make  "CFLAGS =3D -I../h -pg -g -c")=0A=
>       make "SYSTEM=3Dgcp" "ODIR=3D../go" "EXTRAS =3D gcrt0-mod.o ${EXTRAS} " =
> "CC =3D ${CC} -pg" "LDCC =3D gcc -nostdlib  ncrt0.o "=0A=
> =0A=
> aix_crt0.o:=0A=
>       emacs -batch -l aix-crt0.el=0A=
> =0A=
> gcp-aix: aix_crt0.o=0A=
>       (cd ../go ; make  "CFLAGS =3D -I../h -pg -g -c")=0A=
>       make "SYSTEM=3Dgcp" "ODIR=3D../go" "EXTRAS =3D /lib/gcrt0.o ${EXTRAS} =
> " "CC =3D ${CC} -pg" "LDCC =3D ld  -H4096 -D0 -T512 -bhalt:4  -bnso =
> -bI:/lib/syscalls.exp -L/lib/profiled aix_crt0.o     "        =0A=
> =0A=
> gcp: ${GCP}=0A=
> =0A=
> ncrt0.o: /lib/crt0.o=0A=
>       emacs -batch -l ncrt0.el=0A=
> =0A=
> gcrt0-mod.o:=0A=
>       ../xbin/if-exists /lib/gcrt0.o  "cp /lib/gcrt0.o ."=0A=
>       ../xbin/if-exists /usr/lib/gcrt0.o  "cp /usr/lib/gcrt0.o ."=0A=
>       emacs -batch -l gcrt0.el=0A=
> =0A=
> =0A=
> hpbsd-crt0-mod.o:=0A=
>       cp /lib/crt0.o .=0A=
>       emacs -batch -l hpbsd-crt0.el=0A=
> =0A=
> GCL:=3Dgcl=0A=
> clean:=0A=
>       rm -f saved_$(GCL) raw_$(GCL) *.o core a.out rsym =
> $(LSPDIR)/auto_new.lsp foo *maxima*=0A=
> 
> ------_=_NextPart_000_01C1B57B.E134E6F0--
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]