Groups | Search | Server Info | Login | Register


Groups > comp.os.cpm > #14336

Re: Ladder-like game

From Nils M Holm <nmh@sraddha.invalid>
Newsgroups comp.os.cpm
Subject Re: Ladder-like game
Date 2024-04-03 09:11 +0000
Organization TARFU
Message-ID <l74kpbF2mn5U1@mid.individual.net> (permalink)
References <l2f5e0FrdrpU2@mid.individual.net> <slrnv0og7v.qqd.anthk@localhost.localdomain>

Show all headers | View raw


Bozo User <anthk@disroot.org> wrote:
> Interesting. But compiling and setting up t3x/0 
> is not straightforward, at least under GNU/Linux i686.
> Here's the variables I changed in the makefile
> and the sh script at bin/ :
> 
> T3XDIR= $HOME/t3x/lib
> BINDIR= $HOME/t3x/bin
> [...]
> Which could be the issue?

Ah, thank you so much for the feedback! 

Indeed there is something I forgot to mention in the README:

If you change T3XDIR, you also have to change the "modpath"
in your code generator accordingly. In your case, change

"/usr/local/t3x/0/unx386/"

in the function "modpath" in the file "targets/cgunx386.t" to

"your-home/t3x/lib/unx386/"

and, of course, change "your-home" to whatever the actual
path is. $HOME will NOT work.

Without this change, the compiler will fall back to the default
core module and emit a mix of assembly language and bytecode,
which will confuse the assembler.

Let me know if this solves the problem!

-- 
Nils M Holm  < n m h @ t 3 x . o r g >  http://t3x.org

Back to comp.os.cpm | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Ladder-like game Nils M Holm <nmh@sraddha.invalid> - 2024-02-06 16:35 +0000
  Re: Ladder-like game Bozo User <anthk@disroot.org> - 2024-04-02 17:31 +0000
    Re: Ladder-like game Nils M Holm <nmh@sraddha.invalid> - 2024-04-03 09:11 +0000
      Re: Ladder-like game Nils M Holm <nmh@sraddha.invalid> - 2024-04-03 09:33 +0000
        Re: Ladder-like game Nils M Holm <nmh@sraddha.invalid> - 2024-04-03 10:18 +0000
          Re: Ladder-like game Bozo User <anthk@disroot.org> - 2024-04-05 13:11 +0000
            Re: Ladder-like game Nils M Holm <nmh@sraddha.invalid> - 2024-04-05 16:27 +0000
              Re: Ladder-like game Bozo User <anthk@disroot.org> - 2024-04-05 22:00 +0000
                Re: Ladder-like game Nils M Holm <nmh@sraddha.invalid> - 2024-04-07 13:01 +0000

csiph-web