12-28-2021, 07:57 AM
(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 *.s24Thanks!!

