Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling THC-900 on Linux?
#3
(12-28-2021, 05:01 AM)winteriscoming Wrote: Does the Toshiba compiler run in Wine? It seems like that might be an option.

I don't think it's open source, so you won't likely be able to compile it to run natively in Linux.


Well, in a first try, I had move all /BIN files from T900 directory to my .c project path. Then, chaging the make file adding a wine command for each .exe file, it works it.

Code:
.SUFFIXES: .c .asm .rel .abs
NAME = bastardsnw
OBJS = \
    mygame.rel \
    

$(NAME).ngp: makefile ngpc.lcf $(OBJS)
    wine tulink.exe -la -o $(NAME).abs ngpc.lcf system.lib $(OBJS)
    wine tuconv.exe -Fs24 $(NAME).abs
    wine s242ngp.exe $(NAME).s24

.c.rel:
    wine cc900.exe -c -O3 $< -o $@

clean:
    del *.rel
    del *.abs
    del *.map
    del *.s24


Thanks!!
Reply


Messages In This Thread
Compiling THC-900 on Linux? - by KeiDash - 12-27-2021, 08:14 PM
RE: Compiling THC-900 on Linux? - by KeiDash - 12-28-2021, 07:57 AM
RE: Compiling THC-900 on Linux? - by sodthor - 12-29-2021, 07:50 AM
RE: Compiling THC-900 on Linux? - by KeiDash - 12-29-2021, 09:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)