Mail Archives: djgpp/1999/04/23/15:16:34
>* The language supports all target environments, not only 32/64-bit
>machines/VMs with 8-bit words being addressed. This means it can handle
>all possible addressing widths (linear addr. space), all possible word
>widths, and big and little endianness. Also, the language supports
>unsigned and signed integer types of any bit-length. The same for the
>fixed and floating point type. I looked at the ELF, COFF and OMF object
>formats, but none of them seems to satisfy the language's needs. Does
>anyone know a object format that's capable of doing all this stuff ? Or
>do I have to make a new object format ?
you might look at MMURTL, which is an interesting "learning" operating
system. The author of this OS takes the same approach, after a degree,
meaning that there are no object modules. what he basically does is have a
file that lists all the neccessary source files (kind of like a makefile,
but not really) then the compiler goes through and checks to see if the code
is assembler or C. if it's C it gets compiled into assembler, then all the
assembler code is linked together in one big file and sent to the assembler.
it is output directly as an executable.
i don't have my book here with me, so i don't remember the web page address.
-={C}=-
- Raw text -