Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Old 8086 version of pcc spotted (cross-compiles to DOS) (Miscellaneous)

posted by Rugxulo(R) Homepage, Usono, 01.03.2012, 06:58
(edited by Rugxulo on 01.03.2012, 07:11)

> This PCC seems to be ancesstor to modern PCC:
> http://bsdfund.org/projects/pcc/
>
> I did try compiling it while playing with ELKS. I did manage to compile
> some of the toolchain (as and ld I think) with bcc but it required some
> tweaking.

bcc/Dev86 is okay but not perfect. Yes, there's an older DOS-hosted version (0.16.2), but it's fairly minimal, small model (64k + 64k) .COM output only. And I'm not sure the libc is 100% complete, but it's good enough for average things. I compiled "unproto" with it recently, so at least you can use "-ansi" now.

> Anyway, porting the modern *BSD pcc would be much smarter thing to do. But
> I don't see that happening soon. DOS community is really small these days.
> You can see some activity centered around FreeDOS and DJGPP. Other than
> that, I think this forum is the most active DOS community ATM (that remind
> how it almost got shut down :-().

Well, admittedly, there's less of a need to port PCC because DJGPP and OpenWatcom already exist. And while their DOS support isn't very active these days, they're already pretty robust and bug-free. (But yeah, GCC uses lots of RAM these days, sadly.)

> Talking about ancient K&R C compilers, there's already bcc. Desmet C is now
> under GPL too. And you can even download Aztec C 8086 compiler (half)
> legally. But I don't see the purpose for that. Maybe only as a tiny
> development environment for 8086/186 based PC with limited memory and hd
> space (or without hdd)...

Desmet C is too minimal, it definitely doesn't have full ANSI libs. But it's okay, I guess, and certainly easier to modify or bootstrap than others. The only problem is (IMHO) trying to decide which .ZIP to download from the website. Apparently the guy had several versions and never finished cleaning up any of them. Also some are more complete than others.

 

Complete thread:

Back to the forum
Board view  Mix view
15112 Postings in 1359 Threads, 247 registered users, 13 users online (0 registered, 13 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum