On 20 Feb 2005 at 5:38, Waldek Hebisch wrote:
Prof A Olowofoyeku wrote:
Unfortunately, this snapshot has serious problems under Windows (Mingw). xgpc.exe crashes with a GPF every time it is called. I have tried building it on different PCs, and I have tried different gcc backend sources - same result :-(
FYI, I have just built 20050217-based Mingw32 compiler. I did this using cross-compiler from Linux to Mingw32 to cross-compile native Mingw32 compiler. I have no Windows for real test but the resulting compiler runs under wine and I am able run (again under wine) resulting executables (well, at least "Hello World").
Note: I used stock 3.2.3 sources. Also, I used old 3.1.1 cross-compiler, mingw-runtime-19991107 and binutils 2.13.1.
Note2: The `gpc.c' file is substantially changed. It is now more similar to `gcc.c' from gcc-3.4.3 then to old `gpc.c'. So it may trigger bugs in the C compiler used to bootstrap. Also if you apply any special Mingw32 patches which affect `gpc.c' those patches need to be updated.
Note3: strncmp suggest that exact filenames/patch and options are crucial.
Well, I used Mingw special gcc-3.2.3 sources, *and* pristine gcc-3.3.5 sources. The result was exactly the same. Perhaps the actual installed gcc compiler (3.4.2) is buggy - but isn't that what "make bootstrap- lean" is supposed to avoid?
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/