Dennis Ruffer wrote:
> 
> 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:
...
> checking build system type... i386-apple-darwin8.10.1
> checking host system type... i386-apple-darwin8.10.1

Looks good.

> /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-

So the gforth engine seems to work.

> 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

The new kernl32l.fi seems to work, too.

> 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! ;(

That's somewhat mysterious.  The gforth.fi image seems to be broken at
a very low level.

What does "./gforth --no-dynamic --debug" say (in particular, about
the image file used)?  My suspicion is that it does not use
./gforth.fi, but something else.

- anton


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

Reply via email to