[Freedos-devel] Compiling with gcc

2017-10-26 Thread David McMackins
I have been informed that gcc has a -m16 flag that actually outputs binaries that can run in 16-bit mode. Is there then anything stopping FreeDOS from being compiled fully with gcc? If not, why are we still using Watcom? Happy Hacking, David E. McMackins II Associate Member, Free Software Founda

Re: [Freedos-devel] Compiling with gcc

2017-10-26 Thread Steve Nickolas
On Thu, 26 Oct 2017, David McMackins wrote: I have been informed that gcc has a -m16 flag that actually outputs binaries that can run in 16-bit mode. Is there then anything stopping FreeDOS from being compiled fully with gcc? If not, why are we still using Watcom? Pretty sure that GCC, if it

Re: [Freedos-devel] Compiling with gcc

2017-10-26 Thread Jim Hall
> On Thu, 26 Oct 2017, David McMackins wrote: > >> I have been informed that gcc has a -m16 flag that actually outputs >> binaries that can run in 16-bit mode. Is there then anything stopping >> FreeDOS from being compiled fully with gcc? >> >> If not, why are we still using Watcom? On Thu, Oct 26

Re: [Freedos-devel] Compiling with gcc

2017-10-26 Thread Ralf Quint
On 10/26/2017 5:51 AM, David McMackins wrote: > I have been informed that gcc has a -m16 flag that actually outputs > binaries that can run in 16-bit mode. Is there then anything stopping > FreeDOS from being compiled fully with gcc? Hell no. For starters, gcc is a Linux/Unix based compiler, it wor

Re: [Freedos-devel] Compiling with gcc

2017-10-26 Thread Mark Olesen
GCC is not capable of producing pure 16-bit binaries even with -m16. On Thu, Oct 26, 2017 at 11:37 AM, Jim Hall wrote: > > On Thu, 26 Oct 2017, David McMackins wrote: > > > >> I have been informed that gcc has a -m16 flag that actually outputs > >> binaries that can run in 16-bit mode. Is there

Re: [Freedos-devel] Compiling with gcc

2017-10-26 Thread Rugxulo
Hi, On Thu, Oct 26, 2017 at 12:37 PM, Jim Hall wrote: >> On Thu, 26 Oct 2017, David McMackins wrote: >> >>> I have been informed that gcc has a -m16 flag that actually outputs >>> binaries that can run in 16-bit mode. Is there then anything stopping >>> FreeDOS from being compiled fully with gcc?

Re: [Freedos-devel] Compiling with gcc

2017-10-26 Thread Steve Nickolas
On Fri, 27 Oct 2017, Rugxulo wrote: Tiny and Small are better than nothing. AFAIK, DOS-C used to use Small model. FreeCOM also uses Small model too, IIRC. Does it? To get what I wanted out of my own command shell required me to use Compact (though that thing NEVER worked right). All of th