Page 1 of 1
Why not use Sphinx C ?
Posted: Thu Apr 25, 2002 11:00 pm
by Anon
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.
RE:Why not use Sphinx C ?
Posted: Fri Apr 26, 2002 11:00 pm
by J. Weeks
>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
RE:Why not use Sphinx C ?
Posted: Thu May 09, 2002 11:00 pm
by Khumba
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