..ELF files..

BlitzMax Forums/BlitzMax Programming/..ELF files..

Naughty Alien(Posted 2010) [#1]
..is there a way to compile bmax code in to ELF ?


_JIM(Posted 2010) [#2]
Aren't ELF files for other devices (namely Nintendo)? I think the closest thing to that would be bmx2.


Naughty Alien(Posted 2010) [#3]
..yes they are, Nintendo, PSP, PS2, PS3..im just wondering, is there any possible way to get it out of Bmax..


DrDeath(Posted 2010) [#4]
A binary in the EL format doesn't make it automatically compatible to platforms that support it, so the whole effort is futile without corresponding support for these platforms.

To put it more clearly: even if you could get ELF binaries from BlitzMax on any of the three supported platforms, there's no way they would run on Nintendo, PSP, PS2, PS3, whatever.


xlsior(Posted 2010) [#5]
Linux also uses ELF.

But like DrDeath says, there's a lot more to it: ELF is just an executable fileformat that can be interpreted by certain operating systems.
However, currently Blitzmax only supports the x86 and Apple PPC CPU architectures. the PSP, PS2, PS3, DS, etc. have entirely different processors, and different CPU instructions.

Just because a computer knows how to parse an executable file and knows what the headers and executable portions are, doesn't mean it can actually DO anything with the blocks that are marked as executable.