Can SDCC (Small Device C Compiler) be used with PureBasic?

Everything else that doesn't fall into one of the other PB categories.
wysardry
User
User
Posts: 37
Joined: Sun May 27, 2012 4:58 pm

Can SDCC (Small Device C Compiler) be used with PureBasic?

Post by wysardry »

I've only just found out about the new C compiler options in PB 6 and immediately wondered if the C output could be used with the SDCC or z88dk compilers?

This would be for console only text based programs on retro computers with a Z80 processor (which those compilers target).
User avatar
mk-soft
Always Here
Always Here
Posts: 6206
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Can SDCC (Small Device C Compiler) be used with PureBasic?

Post by mk-soft »

No,
You always need the libraries supplied by the OS for Windows, macOS (Intel and M1), Linux (Intel and Arm) and the GCC compiler for the OS.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
wysardry
User
User
Posts: 37
Joined: Sun May 27, 2012 4:58 pm

Re: Can SDCC (Small Device C Compiler) be used with PureBasic?

Post by wysardry »

That's disappointing. It looks as though Nim is still my best option then, as BCX also adds platform specific code.
Post Reply