gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Build gcl-2.6.12 fail on darwin-ppc powermacG5


From: ssbb
Subject: [Gcl-devel] Build gcl-2.6.12 fail on darwin-ppc powermacG5
Date: Tue, 07 Mar 2017 00:11:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Hello

i'm try to build gcl-2.6.12 on darwin-ppc powermac G5 (osx 10.5.8) using gcc-421-apple, ad some problems show up:

./configure --prefix=/usr/local/gcl-2.6.12 --enable-ansi --enable-readline --enable-tkconfig=/System/Library/Frameworks/Tk.framework/tkConfig.sh --enable-tclconfig=/System/Library/Frameworks/Tcl.framework/tclConfig.sh

First error was:

dpp: file.d -> file.c
gcc -c -Wall -fsigned-char -pipe -mlongcall -O3 -fomit-frame-pointer -I/Users/stefano/build/gcl-2.6.12/o -I../h -I../gcl-tk file.c
file.d: In function 'open_stream':
file.d:351: error: 'PATH_MAX' undeclared (first use in this function)
file.d:351: error: (Each undeclared identifier is reported only once
file.d:351: error: for each function it appears in.)
file.d:351: warning: unused variable 'fname'
make[1]: *** [file.o] Error 1

I Added  #include <sys/syslimits.h>  in o/files.d
Not sure at all is the right place, but build proceed.. until:

echo '#include "make-init.h"' > new_init.c
echo 'void NewInit(void){' >> new_init.c
cat typespec.ini main.ini alloc.ini gbc.ini bitop.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 gmp_wrappers.ini clxsocket.ini init_pari.ini nsocket.ini sfasl.ini prelink.ini gcl_readline.ini >> new_init.c
echo '}' >> new_init.c
gcc -c -Wall -fsigned-char -pipe -mlongcall -I/Users/stefano/build/gcl-2.6.12/o -I../h -I../gcl-tk new_init.c -o new_init.o
new_init.c: In function 'NewInit':
new_init.c:688: error: 'FPE_INIT' undeclared (first use in this function)
new_init.c:688: error: (Each undeclared identifier is reported only once
new_init.c:688: error: for each function it appears in.)
make[1]: *** [new_init.o] Error 1
rm gcl_readline.c print.c read.c pathname.c file.c
make: *** [unixport/saved_pre_gcl] Error 2

FPE_INIT seems needed for darwin-Intel, not fordarwin-ppc...

Any Idea?
thanks in advance to every suggestion.
---------
Stefano.B






reply via email to

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