Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Lcc for DOS

97 views
Skip to first unread message

chrisrodri...@gmail.com

unread,
May 24, 2008, 5:20:40 PM5/24/08
to
Is there a version of Lcc for DOS? I've got this 3 year old computer,
and want to use it for something, but it runs DOS, and doesn't like
ANYTHING USB. I have a floppy drive and a CD drive, and thats about
it. I can't compile Lcc from Win32 to DOS, I tried. DOS freezes when
it attempts to load the GUI. Can I issue a command line argument to
Lcc, and if not, how do I get it to run in DOS? DEBUG.EXE only works
on Assembler files, and those are too time consuming. Any response
would be helpful. Thanks

jacob navia

unread,
May 24, 2008, 5:33:22 PM5/24/08
to

lcc runs only in 32 bits. DOS is a 16 bits operating system.
It was discontinued more than 15 years ago. If your machine
is only 3 years old, install windows, and you can use it
for something

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32

CBFalconer

unread,
May 24, 2008, 11:52:21 PM5/24/08
to
jacob navia wrote:
> chrisrodri...@gmail.com wrote:
>
>> Is there a version of Lcc for DOS? I've got this 3 year old
>> computer, and want to use it for something, but it runs DOS, and
>> doesn't like ANYTHING USB. I have a floppy drive and a CD drive,
>> and thats about it. I can't compile Lcc from Win32 to DOS, I
>> tried. DOS freezes when it attempts to load the GUI. Can I
>> issue a command line argument to Lcc, and if not, how do I get
>> it to run in DOS? DEBUG.EXE only works on Assembler files,
>> and those are too time consuming. Any response would be helpful.
>
> lcc runs only in 32 bits. DOS is a 16 bits operating system. It
> was discontinued more than 15 years ago. If your machine is only
> 3 years old, install windows, and you can use it for something

Check out DJGPP, which runs very nicely under DOS and handles the
32 bit systems, such as GCC. It requires at least a 386 on which
to run, which you will have.

I think the access point is <www.delorie.com>.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.


** Posted from http://www.teranews.com **

Rod Pemberton

unread,
May 25, 2008, 1:53:39 AM5/25/08
to

<chrisrodri...@gmail.com> wrote in message
news:fc71fc1c-8e2c-4fe4...@m73g2000hsh.googlegroups.com...

Old versions of LCC (before Jacob's LCC-Win32 variant and before Pelles C
variant) compiled for DOS. Specifically, versions 3.5 and 3.6. IIRC, 3.6
had some of the DOS code removed. These required NASM and Borland C++. I
know these versions use or can use Borland's DPMI server, so they produce
32-bit code. I'm unsure as to whether they can generate 16-bit code. IIRC,
DOS support in later versions was removed for C99 compliance. However, I
have seen LCC retargeted machine descriptions for 8/16-bit (e.g., Qirien
Dhaela's "Magic-1").

However, there are a few active compilers that still support DOS: DJGPP,
OpenWatcom, LadSoft's CC386. DJGPP and CC386 are 32-bit, i.e., they use a
DPMI host and/or DOS Extender. OpenWatcom will produce both 16-bit and
32-bit DOS code.


Rod Pemberton

0 new messages