Platform agnostic C code output

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
wysardry
User
User
Posts: 37
Joined: Sun May 27, 2012 4:58 pm

Platform agnostic C code output

Post by wysardry »

It would be nice if there was an option for platform agnostic code output for the C backend when creating text only console programs, so that more targets could be supported via the appropriate C compilers.

For example, SDCC or z88dk could be used to target Z80 machines.

Nim has this option and is open source, if a working example would help.

To clarify, I'm not asking for PureBasic itself to be available on more platforms, just that it could produce suitable C code for them.
Rinzwind
Enthusiast
Enthusiast
Posts: 679
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: Platform agnostic C code output

Post by Rinzwind »

Yup that c output is not helping you if the build-in PB libraries are still platform dependent and without source.
Post Reply