Hi,

I finally uploaded a draft (not to be merged yet -- the patch needs to
be split in nicer chunks!):
https://github.com/bartoldeman/fdkernel/commits/ia16-elf-gcc-draft
patch can be seen here:
https://github.com/bartoldeman/fdkernel/commit/f873f2052e83fedadfd10b04d79d07246da30bbd

Rugxulo wrote:
> So they only patched it this year? That makes more sense (since GCC
> IA16's initial public release seems to have been in April).

Yes TK Chia took that repository and worked on that. It's just source
code on github now, all DIY compilation.

> Very interesting. (But what is the problem with 80kb? Slightly less
> free memory? Not exactly a deal-breaker!)

Indeed, less free memory, somewhat bigger kernel.sys file for those
who still deal with floppies.
Though it's improving, already 2.5k smaller than last time I wrote.

>> Alternatively said: ia16-elf-gcc and binutils does not support OMF,
>> only ELF, and therefore  NO segment relocations, as ELF is flat.
>
> You mean even ELF (with 8-bit extensions) isn't fully supporting all
> features? Jenner did indicate plans to maybe add OMF eventually, but
> that sounds like it would be onerous. Don't hold your breath.

Yes, OMF is more work in binutils. But it can work a little more
cleanly than before with ELF using a linker script and explicit
segments ie. instead of
"jmp far symbol", had to do "jmp DGROUP:symbol" etc.

> FYI, NASM is still cross-compiled via DJGPP for DOS with official
> binaries (e.g. 2.13.01). But I'm not sure it can build natively (well,
> unless you "configure" elsewhere.) I think OpenWatcom support has been
> dropped entirely since (I don't know) 2.10? (But I can build 2.09.10
> via OW in DOS with no obvious problems.) But latest release is close
> to almost compiling with OW again (and I think Joe Forster's fork is
> using it).

So far I have only cross-compiled from Linux, so I've ignored all things DJGPP.

It would be nice to be able to do the compilation natively on DOS
eventually though it's not my priority.

Bart

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to