nullplan wrote:
kerravon wrote:
I have produced my own gcc 3.2.3 build for Windows,
So, fittingly for a necropost, you resurrected an old compiler. You do know the current version is GCC 10 or something, right?
Sure, and the latest version isn't even written in C. Useless for me. I have enough trouble just supporting C90. When C90 is working to my satisfaction on all my environments, I'll maybe look at other languages.
Quote:
kerravon wrote:
It's a single executable - gccwin.exe and now written in pure C90 (so no fork() etc), and as such, you are required to do separate assembly and link steps yourself (ie just use a makefile - and I provide pdmake for that purpose too).
Chaining together compiler, assembler, and linker is supposed to be the one job of a compiler driver.
Says who? You can't do complicated stuff like that in C90. C90 exists for a reason. There are limits to what you can do on some environments. What system() does is "implementation defined". fork() doesn't exist at all.
Quote:
You have stripped out so much stuff from gcc that it ceases being useful.
It is totally useful. It actually works on my OS. No other version does, and good luck trying to get another (more complex) version to work.
Quote:
kerravon wrote:
For people who wish to produce "yet another Windows clone" instead of "yet another Posix OS".
Windows IS a POSIX OS, with the notable omission of fork(), but then, I am trying to build my own OS like Linux but all the BS removed, and it is not going to have fork(), either. In any case, Windows does have subprocesses and pipes, even if they work a little differently.
PDOS/386 doesn't have any of that, but it will run gccwin, a perfectly valid Windows executable that should work on everything from Win 95 on.
Quote:
In any case, you shouldn't necro. This thread is old enough to buy beer in Germany, and even the most recent resurrection is no longer allowed to bike on the sidewalk. Just make another topic.
If someone had updated the Wiki so that it doesn't point here for the "latest information", I wouldn't be here.