EXE file format

What format do qnx4 exe files have?

Vaxon <Vaxon77@hotmail.com> wrote:

What format do qnx4 exe files have?

OMF. I think Proc32 (in later versions) can also load ELF.

If you give some better idea of what you’re trying to do/why
you need to know, maybe I (or someone) can give you a better
or more useful answer.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

David Gibbs wrote:

Vaxon <> Vaxon77@hotmail.com> > wrote:
What format do qnx4 exe files have?

OMF. I think Proc32 (in later versions) can also load ELF.

From my exerience in order to load ELF it must be linked with watcom v11
which AFAIU hasn’t been released. So technically no ELFs with default
watcom 10.x :slight_smile:

// wbr

I wanted to write a program which can be run with no OS at all (just my own
boot loader, which initializes some specific hardware and switches to
protected mode) and on QNX 4.25 also. So I can debug it. The program is just
a process with a single thread running. It works a lot with memory and some
hardware via I/O ports. I wanted to write it in C and partially in ASM. I
want to use some C runtime lybrary functions, which don’t make system calls.
I need to know the exe file format to make my boot loader load it into
memory.