This keeps bouncing on me, so let's try trimming it down a bit.

On Nov 3, 2007, at 11:39 AM, Anton Ertl wrote:
Dennis Ruffer wrote:
6) change to config.guess to work on Intel Macs

I have updated config.guess and config.sub to the latest versions
(from <http://cvs.savannah.gnu.org/viewvc/config/config/>).  I hope
that these now support Intel Macs (I cannot check).

I was finally able to find some time on an Intel Mac today. After figuring out that I had to delete the engine/*.o files manually (shouldn't BUILD-FROM-SCRATCH do that for me?) and installing the libffi libraries, I got the following:

FPGA-1 cat darwin
env CFLAGS="-I/opt/local/include -O2" LDFLAGS=-L/opt/local/lib ./ BUILD-FROM-SCRATCH --enable-force-reg
echo "To install type: sudo make install"

FPGA-1 ./darwin
...
checking build system type... i386-apple-darwin8.10.1
checking host system type... i386-apple-darwin8.10.1
...
machine='386'
checking for ./arch/386/asm.fs... yes
checking for ./arch/386/disasm.fs... yes
...
ln: include/gforth/0.6.9-20070604/config.h: File exists
ln: include/gforth/0.6.9-20070604/libcc.h: File exists
Running: make BUILDFORTH="/usr/local/bin/gforth -m4M" FORTHP="/usr/ local/bin/gforth -m4M" engine/prim.i kernl16b.fi kernl32b.fi kernl64b.fi kernl16l.fi kernl32l.fi kernl64l.fi
make: `engine/prim.i' is up to date.
make: `engine/prim.i' is up to date.
if test -r version && test x'0.6.9-20070604' = x`cat version` ; then true ; else echo 0.6.9-20070604 > version ; fi
cd engine && make gforth gforth-ditc gforth-itc gforth-prof
cd .. && CONFIG_FILES=stamp-h CONFIG_HEADERS=engine/config.h ./ config.status
config.status: creating stamp-h
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands
ln: include/gforth/0.6.9-20070604/config.h: File exists
ln: include/gforth/0.6.9-20070604/libcc.h: File exists
echo timestamp > stamp-h
make[1]: `gforth-ditc' is up to date.
make[1]: `gforth-itc' is up to date.
make[1]: `gforth-prof' is up to date.
cp -p gforth gforth~
cp: gforth: No such file or directory
make: [gforth] Error 1 (ignored)
cp -p engine/gforth gforth
true gforth
/usr/local/bin/gforth -m4M exboot.fs -e 'fpath= .|~+|.' -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross kernl16b.fi- /usr/local/ bin/gforth-0.6.9-20070604 bye" redefined store-backtrace redefined first-throw redefined nothrow redefined (try) redefined try redefined (endtry) redefined handler- intro, redefined iferror redefined restore redefined endtry redefined endtry-iferror redefined NIL
Unresolved: Nothing!

address-space      Start: 00000  End: 00000  DP: 00000
user-region        Start: 0183C  End: 01A3C  DP: 0186C
dictionary         Start: 00100  End: 00100  DP: 08A0C
return-stack       Start: 00000  End: 00000  DP: 00000
data-stack         Start: 00000  End: 00000  DP: 00000
tib-region Start: 00000 End: 00000 DP: 00000 Saving to kernl16b.fi-
...
cp -p kernl16b.fi kernl16b.fi~
cp -p kernl16b.fi- kernl16b.fi
cp -p kernl32b.fi kernl32b.fi~
cp -p kernl32b.fi- kernl32b.fi
cp -p kernl64b.fi kernl64b.fi~
cp -p kernl64b.fi- kernl64b.fi
cp -p kernl16l.fi kernl16l.fi~
cp -p kernl16l.fi- kernl16l.fi
cp -p kernl32l.fi kernl32l.fi~
cp -p kernl32l.fi- kernl32l.fi
cp -p kernl64l.fi kernl64l.fi~
cp -p kernl64l.fi- kernl64l.fi
Running: make
if test -r version && test x'0.6.9-20070604' = x`cat version` ; then true ; else echo 0.6.9-20070604 > version ; fi
cd engine && make gforth gforth-ditc gforth-itc gforth-prof
make[1]: `gforth' is up to date.
make[1]: `gforth-ditc' is up to date.
make[1]: `gforth-itc' is up to date.
make[1]: `gforth-prof' is up to date.
cp -p gforth gforth~
cp -p engine/gforth gforth
true gforth
cp -p kernl16l.fi kernl16l.fi~
cp -p kernl16l.fi- kernl16l.fi
cp -p kernl16b.fi kernl16b.fi~
cp -p kernl16b.fi- kernl16b.fi
cp -p kernl32l.fi kernl32l.fi~
cp -p kernl32l.fi- kernl32l.fi
cp -p kernl32b.fi kernl32b.fi~
cp -p kernl32b.fi- kernl32b.fi
cp -p kernl64b.fi kernl64b.fi~
cp -p kernl64b.fi- kernl64b.fi
cp -p engine/gforth-ditc gforth-ditc
GFORTHD="./gforth-ditc -p .:." GFORTH="./gforth-ditc --die-on-signal - p .:. -i kernl32l.fi exboot.fs startup.fs arch/386/asm.fs arch/386/ disasm.fs" includedir=`pwd`/include bindir=`pwd` ./gforthmi gforth.fi --die-on-signal -p ".:~+:." -i kernl32l.fi exboot.fs startup.fs arch/386/asm.fs arch/386/disasm.fs
redefined w@  redefined w@  redefined w@  data offset=E0
code offset=68
  xt offset=58
cp -p engine/gforth-itc gforth-itc
cp -p engine/gforth-prof gforth-prof
cd engine && make gforth-fast
make[1]: `gforth-fast' is up to date.
cp -p engine/gforth-fast gforth-fast
true gforth-fast
cd engine && make gforth gforth-ditc gforth-itc gforth-prof
make[2]: `gforth' is up to date.
make[2]: `gforth-ditc' is up to date.
make[2]: `gforth-itc' is up to date.
make[2]: `gforth-prof' is up to date.
cp -p gforth gforth~
cp -p engine/gforth gforth
true gforth
cp -p engine/gforth-ditc gforth-ditc
cp -p engine/gforth-itc gforth-itc
cp -p engine/gforth-prof gforth-prof
cd engine && make gforth-fast
make[2]: `gforth-fast' is up to date.
cp -p engine/gforth-fast gforth-fast
true gforth-fast
if test -r version && test x'0.6.9-20070604' = x`cat version` ; then true ; else echo 0.6.9-20070604 > version ; fi
cp -p kernl32l.fi kernl32l.fi~
cp -p kernl32l.fi- kernl32l.fi
make checkone check-nofast ENGINE="./gforth --no-dynamic" >/dev/null 2>&1
make[1]: *** [check] Error 2
make: *** [more] Error 2
To install type: sudo make install

Typing ./gforth just hangs! ;(

DaR


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to