gforth
[Top][All Lists]
Advanced

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

Re: Cross compiling


From: Francesco Ariis
Subject: Re: Cross compiling
Date: Sun, 28 Feb 2021 19:02:17 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

Il 28 febbraio 2021 alle 18:51 Bernd Paysan ha scritto:
> Am Sonntag, 28. Februar 2021, 17:04:16 CET schrieb Francesco Ariis:
> > Hello forthers,
> > 
> >     I was reading the manual section on cross-compiling [1], but the
> > documentation seems a bit outdated (e.g. `kernl-8086.fi` target is not
> > present in my `gforth-0.7.3`).
> 
> Yes, it is. It's a kernl-%.fi: target. It will expand to
> 
> ./preforth -p ".:~+:." -e 's" arch/8086/mach.fs"' ./kernel/main.fs -e "save-
> cross kernl-8086.fi- /usr/local/bin/gforth-0.7.3 bye"

    f@extensa:~/spool/gforth-0.7.3_$ make kernl-8086.fi
    make: *** No rule to make target 'kernl-8086.fi'.  Stop.

Gforth 0.7.3 downloaded from https://gforth.org/ , running on Debian
Buster

> For such older hardware, you need to port an assembler and the primitives
> (which is exactly what Klaus Kohl-Schöpe did for the 8086).

Pardon the naïvete, but what does «port an assembler» mean? Write (on
my host machine) an assembler that works on the target machine?



reply via email to

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