Page 1 of 1
					
				Can SDCC (Small Device C Compiler) be used with PureBasic?
				Posted: Sun Aug 28, 2022 5:01 am
				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).
 
			 
			
					
				Re: Can SDCC (Small Device C Compiler) be used with PureBasic?
				Posted: Sun Aug 28, 2022 1:07 pm
				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.
			 
			
					
				Re: Can SDCC (Small Device C Compiler) be used with PureBasic?
				Posted: Sun Aug 28, 2022 9:16 pm
				by wysardry
				That's disappointing. It looks as though 
Nim is still my best option then, as 
BCX also adds platform specific code.