I was configuring with -D_POSIX_SOURCE defined.
That resulted in a config.h telling that fseeko() was available and ftello() wasn't (or viceversa). That caused strange behaviour when calling read-line within save-input/restore-input (read-line returned -37 for wior, probably due to a non-working reposition-file).
I will package gforth for fink configuring as:
./configure --enable-force-reg --enable-direct-threaded --without-debug CC=gcc2 CFLAGS="-I%p/include -no-cpp-precomp"
Greetings, Jorge
On Wednesday, March 12, 2003, at 07:21 PM, Jorge Acereda Maci� wrote:
Tried also with some " x allocate 2drop ", getting the same result.
If you can't reproduce it I will give it a try within a couple of days.
./gforth --die-on-signal -m 4M -p ".:~+:." -i kernl32b.fi -e 3 exboot.fs -e 'fpath= .|~+|.' -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross kernl16b.fi- /sw/bin/gforth-0.6.1 bye"
in file included from *the terminal*:0
in file included from kernel/main.fs:44
cross.fs:586: File I/O exception
^ Backtrace: $AE1B4 throw $ADC54 perform $AE098 refill $ADC54 perform $B2E54 execute $4AEAD0 $4B2A00 $4AB000 $5DFE0 $4AEAA4 $B2E6C $AE4FC catch $4 $6E990 $C4334 restore-input $C4A7C ;s $C4634 SetValue $C3EC0 make: *** [kernl16b.fi-] Error 1 [Silver:src/gforth-0.6.1-1/gforth-0.6.1] admin%
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
