| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Idea: Multitasking graphical OS for the GS |
The only support I could find is limited to the BFD files which provide fixups to object files (coff in the w65 case). Although useful, it falls far short of the CPU support files needed by the assembler and compiler. The pseudo segmented architecture of the 65816 might be an issue for gcc as well. I looked a little at the CPU support requirements for gcc; it doesn't look impossible but would be a bit of work. And then there is the OMF support that Geoff talks about below. It could be that a different compiler would be a better starting point for a 65816 version. Perhaps cc65 or sdcc? Or, someone who has implemented a backend for gcc could jump in and do it in a day :-) Dave... geoff wrote: > To: David Schmenk > gcc already has 65816 support. See > http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/?cvsroot=src > > binutils is the first step to compile gcc. It provides the assembler, linker, > and basic set of libraries. It is pretty trivial to make the few needed > changes to get binutils to compile with w65 support (it didn't work out of the > box for me when I looked at three years ago to set it up for cross compiling). > The next step for IIgs functionality is to add GS/OS OMF support to ld. > After that, a 16-bit gcc should just work to compile native IIgs apps (not to > mention a very decent assembler and ar to build libraries). A more useful gcc > would be to add new 65816 code to binutils for 32-bit support (where ones > passes the -m32 argument to gcc to force 32bit ints). I since lost my notes > that I wrote due to a bad OS upgrade. > > Is there anybody who want to tackle adding OMF support to ld in binutils? A > java port of most of OMF can be found at http://code.google.com/p/libomf/ . I > don't know how complete or accurate it is. > > Geoff > > > mdj wrote: > > > On Jan 3, 3:52 pm, David Schmenk wrote: > > > > >> Another important piece to consider is the development environment. > > >> Writing a core multitasking kernel isn't particularly difficult, but > > >> having tools such as compilers and debuggers is a large part of the > > >> project - sometimes larger than the kernel itself. If you want to make > > >> it open source, you'll want to find a tool suite that can be made easily > > >> available. Do you want to self-host or do you want to cross-compile? >> > > Determination of the tools might even help dictate the design and > > >> complexity of the kernel. > > > > > > The reliance on a commercial tool chain has always been an impediment > > > to IIgs development... Well, that plus the 5 manuals you'll need to > > > buy. I guess there's Merlin 16, but a non-Unixy toolchain just seems > > > 'wrong' nowadays > > > > > Matt > > > > So who is going to add 65816 support to gcc ;-) --- SBBSecho 2.12-Win32* Origin: Derby City Gateway (1:2320/0) SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303 SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119 SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700 SEEN-BY: 2320/100 105 200 2905/0 @PATH: 2320/0 100 261/38 633/260 267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.