Indeed, Artificial Idiots will only give a reasonable answer if they've had a lot of correct training data, and little wrong training data, to regurgitate. For Atari systems they've probably been trained on the forums and you know how well that's going to go don't you?Badwolf wrote: Fri Oct 24, 2025 4:54 pm And *for the umpteenth time*, stop using LLMs to try to solve your problems! Of course it's not running TTP files. What nonsense. That's the Atari version.
You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
See here for more information viewtopic.php?f=20&t=7296
DO NOT USE DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time it is unfortunately not possible to white list users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
At this time it is unfortunately not possible to white list users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
Different compilers for compiling TOS ?
- stephen_usher
- Site sponsor

- Posts: 6999
- Joined: Mon Nov 13, 2017 7:19 pm
- Location: Oxford, UK.
- Contact:
Re: Different compilers for compiling TOS ?
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Re: Different compilers for compiling TOS ?
I do exactly the same @Badwolf makes things a lot easier and copying between host and VM makes getting files etc easy.Badwolf wrote: Fri Oct 24, 2025 11:24 am I don't like installing software suites after software suites, packages after packages on my daily driver machine (which is a Macbook) so I just have a virtual machine which I unpause when necessary.
It does my ISE dev, my 68k cross compiling dev, my CPLD flashing and if I completely screw it up: oh well, never mind. Let's spin up a new one.
It's Debian, but could as easily be one of the hand-holdy distros too.
BW
Re: Different compilers for compiling TOS ?
GIT wont work.. already said a few posts back.
I did what you did, didnt work. Again said a few posts back.Anyway, I just tried downloading the zip instead (https://github.com/th-otto/tos3x/archiv ... master.zip) and, apart from cd to a different directory name, it just made first time again.
Exactly as downloaded from the master.zip from git.You haven't shown us what's in your tos3x directory, BTW.
Command not found.Oh, it's just occurred to me perhaps cygwin has two types of make. Try running 'gmake' instead?
Re: Different compilers for compiling TOS ?
Yeah the folders are all fine..dml wrote: Fri Oct 24, 2025 5:27 pm It might be helpful to know that the cygwin drives are also just Windows directories - you can use nano (or vim or anything else) from the cygwin shell, or you can edit the code on the disk in Windows using any editor or IDE.
True, that's caught me out before. But I only downloaded the GIT files as @Badwolf did and MAKE should work.. but it doesn't... Zero output, no files are created.But there are some hazards - Windows CRLF line endings sometimes can creep in from your editor/IDE and its easy to get mixed up with / posix directory separators and \ Windows separators. Cygwin will tolerate both but the programs you are running there might not. Also permissions might be an issue in some cases where they matter since Windows file operations can change them under cygwin's feet. Usually this isn't an issue for compiling source projects though.
This is why I don't do "new stuff" as its always trouble
But like I said a few posts back, if the compiler isn't going to do anything "magical" anyway, then it's probably just not worth the hassle.
Re: Different compilers for compiling TOS ?
I'm a bit late to this party and didn't read all the posts \o/ but I did download the zip and look at the Makefile...
It comes with a bin/ directory full of old 68k compiler tools for Win, Mac, Linux and ....TOS.
It's currently pointing at the TOS tools. i.e.
When it will probably need to be
...otherwise it will be trying to run TTPs from windows. But I think this was noted earlier.
...also Cygwin is a posix Linux-ish environment not native Windows so the TOS '\' directory separators in the paths look like they could cause problems. I bet path issues are why make just returns silently. They likely all need fixed.
Anyway the makefile as it is can't work from Linux and probably not from Cygwin either. It is set up to build under TOS with GEMDOS formatted paths. Should be fixable assuming the tools all work. ....or it could be a rabbithole best done from scratch
It comes with a bin/ directory full of old 68k compiler tools for Win, Mac, Linux and ....TOS.
It's currently pointing at the TOS tools. i.e.
Code: Select all
BIN=$(top_srcdir)\bin\tos${BS}When it will probably need to be
Code: Select all
BIN=$(top_srcdir)\bin\win32${BS}...otherwise it will be trying to run TTPs from windows. But I think this was noted earlier.
...also Cygwin is a posix Linux-ish environment not native Windows so the TOS '\' directory separators in the paths look like they could cause problems. I bet path issues are why make just returns silently. They likely all need fixed.
Anyway the makefile as it is can't work from Linux and probably not from Cygwin either. It is set up to build under TOS with GEMDOS formatted paths. Should be fixable assuming the tools all work. ....or it could be a rabbithole best done from scratch
d:m:l
Home: http://www.leonik.net/dml/sec_atari.py
BadMooD d/l: https://www.leonik.net/dml/sec_bm.py
AGT playlist https://www.youtube.com/playlist?list=P ... GzrdrZJxgM
Quake II playlist: http://www.youtube.com/playlist?list=PL ... 5nMm10m0UM
Home: http://www.leonik.net/dml/sec_atari.py
BadMooD d/l: https://www.leonik.net/dml/sec_bm.py
AGT playlist https://www.youtube.com/playlist?list=P ... GzrdrZJxgM
Quake II playlist: http://www.youtube.com/playlist?list=PL ... 5nMm10m0UM
Re: Different compilers for compiling TOS ?
...and looks like the second makefile GNUmakefile *is* set up for a posix build environment so you might get further with that. But I think you are missing that version of make, so it would need to be installed from the package manager...
d:m:l
Home: http://www.leonik.net/dml/sec_atari.py
BadMooD d/l: https://www.leonik.net/dml/sec_bm.py
AGT playlist https://www.youtube.com/playlist?list=P ... GzrdrZJxgM
Quake II playlist: http://www.youtube.com/playlist?list=PL ... 5nMm10m0UM
Home: http://www.leonik.net/dml/sec_atari.py
BadMooD d/l: https://www.leonik.net/dml/sec_bm.py
AGT playlist https://www.youtube.com/playlist?list=P ... GzrdrZJxgM
Quake II playlist: http://www.youtube.com/playlist?list=PL ... 5nMm10m0UM
Re: Different compilers for compiling TOS ?
Isn't that what @Badwolf tried though here in Linux ?dml wrote: Sun Oct 26, 2025 9:30 pm ...
Anyway the makefile as it is can't work from Linux and probably not from Cygwin either. It is set up to build under TOS with GEMDOS formatted paths. Should be fixable assuming the tools all work. ....or it could be a rabbithole best done from scratch![]()
viewtopic.php?p=135837#p135837
Re: Different compilers for compiling TOS ?
GNUmakefile.cmn does mention Linux..dml wrote: Sun Oct 26, 2025 9:41 pm ...and looks like the second makefile GNUmakefile *is* set up for a posix build environment so you might get further with that. But I think you are missing that version of make, so it would need to be installed from the package manager...
But no idea what version of make I need
Re: Different compilers for compiling TOS ?
I changed the first few lines of the Makefile to be more friendly with Linux/Mac/Cygwin:
...and it is at least trying to build now with MacOS tools (fix the macos/ tool path fragment to win32/). Those binaries are not auth'd to run on a Mac of course without fixing them from the ZIP but shouldn't be an issue on Cygwin. I might look more tomorrow but need to drop it for tonight.
Code: Select all
# nasty workaround to avoid backslash at end-of-line
BS=/${empty}
QBS=/${empty}
BIN=$(top_srcdir)/bin/macos/
LIB=$(top_srcdir)/lib/
INC=$(top_srcdir)/common/
EXEEXT=
BUILD_EXEEXT=$(EXEEXT)d:m:l
Home: http://www.leonik.net/dml/sec_atari.py
BadMooD d/l: https://www.leonik.net/dml/sec_bm.py
AGT playlist https://www.youtube.com/playlist?list=P ... GzrdrZJxgM
Quake II playlist: http://www.youtube.com/playlist?list=PL ... 5nMm10m0UM
Home: http://www.leonik.net/dml/sec_atari.py
BadMooD d/l: https://www.leonik.net/dml/sec_bm.py
AGT playlist https://www.youtube.com/playlist?list=P ... GzrdrZJxgM
Quake II playlist: http://www.youtube.com/playlist?list=PL ... 5nMm10m0UM
Re: Different compilers for compiling TOS ?
Thanks.. I'll have a go when I get home from work tomorrow. Need an early nightdml wrote: Sun Oct 26, 2025 10:01 pm I changed the first few lines of the Makefile to be more friendly with Linux/Mac/Cygwin:
