Hi, On Mon, Jul 14, 2014 at 12:50 AM, Mateusz Viste <[email protected]> wrote: > > You should definitely stick to as standard Ansi C as possible, so your > project would compile > on pretty much anything. I know some (most?) people here use OpenWatcom, > since it's free. > Myself I use rather Turbo C (when doing some real mode things). There is also > DJGPP > of course, but I think it is too big of a cow for your project (you do need > to keep it as small > as possible).
Most FreeDOS projects are C and/or assembly, so OpenWatcom and NASM are heavily recommended. However, if you're familiar with Turbo Pascal (or even Delphi), you may enjoy FreePascal, which is very compatible with those dialects (and also has partial target support for "msdos" 8086, in addition to normal GO32V2). FreeBASIC is also good (but 32-bit only and only "mostly" compatible to QBasic dialect). Both of those, at least in 32-bit forms, can link with DJGPP, which also has Fortran and Ada (though I don't think they're tested nearly as well as C/C++). In fact, FBC always needs DJGPP libc (unlike FPC). Don't ignore DJGPP at all, it's very very good. But indeed, if you want 16-bit, you won't find it there. "Too big of a cow" does (mostly) have a valid point, though. :-) > good luck > > On July 14, 2014 4:45:28 AM GMT+02:00, Andy Stamp <[email protected]> wrote: >> >>For new projects, what compilers should be targeted? OpenWatcom seems >>like the obvious choice, but I don't know what other folks are using. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
