I just found out about a mod of a C compiler,
sphinx - C. It's a C compiler Cross with an asm one.
I don't see you guys talk about it much, is Sphinx C not
the ideal OS compiler ?
You can work directly with registers too.
Why not use Sphinx C ?
RE:Why not use Sphinx C ?
>On 2002-04-26 00:37:48, Anon wrote:
>I just found out about a mod of a C compiler,
>sphinx - C. It's a C compiler Cross with an asm one.
>I don't see you guys talk about it much, is Sphinx C not
>the ideal OS compiler ?
>You can work directly with registers too.
I've thought about it, myself. Indeed, I think I have
a version of Sphinx C-- on my 'doze system. I use
GCC, however, simply because it's more widely accepted,
compiles tight 32-bit code, and supports ELF and
COFF (through djgpp) formats.
I don't see any reason why you couldn't use Sphinx
C-- to build an OS, assuming you can get the
compiler to compile/assemble large programs into
formats other than .exe and .com
Jeff
>I just found out about a mod of a C compiler,
>sphinx - C. It's a C compiler Cross with an asm one.
>I don't see you guys talk about it much, is Sphinx C not
>the ideal OS compiler ?
>You can work directly with registers too.
I've thought about it, myself. Indeed, I think I have
a version of Sphinx C-- on my 'doze system. I use
GCC, however, simply because it's more widely accepted,
compiles tight 32-bit code, and supports ELF and
COFF (through djgpp) formats.
I don't see any reason why you couldn't use Sphinx
C-- to build an OS, assuming you can get the
compiler to compile/assemble large programs into
formats other than .exe and .com
Jeff
RE:Why not use Sphinx C ?
Why wouldn't .COM work? You'd still have to write
a bootloader in NASM or something, but doesn't it
generate 16-bit code?
>On 2002-04-27 20:49:37, J. Weeks wrote:
>>On 2002-04-26 00:37:48, Anon wrote:
>>I just found out about a mod of a C compiler,
>>sphinx - C. It's a C compiler Cross with an asm one.
>>I don't see you guys talk about it much, is Sphinx C not
>>the ideal OS compiler ?
>>You can work directly with registers too.
>
>I've thought about it, myself. Indeed, I think I have
>a version of Sphinx C-- on my 'doze system. I use
>GCC, however, simply because it's more widely accepted,
>compiles tight 32-bit code, and supports ELF and
>COFF (through djgpp) formats.
>
>I don't see any reason why you couldn't use Sphinx
>C-- to build an OS, assuming you can get the
>compiler to compile/assemble large programs into
>formats other than .exe and .com
>
>Jeff
a bootloader in NASM or something, but doesn't it
generate 16-bit code?
>On 2002-04-27 20:49:37, J. Weeks wrote:
>>On 2002-04-26 00:37:48, Anon wrote:
>>I just found out about a mod of a C compiler,
>>sphinx - C. It's a C compiler Cross with an asm one.
>>I don't see you guys talk about it much, is Sphinx C not
>>the ideal OS compiler ?
>>You can work directly with registers too.
>
>I've thought about it, myself. Indeed, I think I have
>a version of Sphinx C-- on my 'doze system. I use
>GCC, however, simply because it's more widely accepted,
>compiles tight 32-bit code, and supports ELF and
>COFF (through djgpp) formats.
>
>I don't see any reason why you couldn't use Sphinx
>C-- to build an OS, assuming you can get the
>compiler to compile/assemble large programs into
>formats other than .exe and .com
>
>Jeff