latest pre-release of GCC 3.3. You can follow the steps below to
create a cross-compiler from linux to Win32.
- If the steps below fail, try adding "-D 11-Oct-2002" to the cvs
- checkout line; 11-Oct-2002 was the last date on which the compiler
+ If the steps below fail, try adding "-D 19-Oct-2002" to the cvs
+ checkout line; 19-Oct-2002 was the last date on which the compiler
was known to work. Please don't do this unless you have attempted
without it, however, since it puts additional strain on the gcc cvs
server.
wget http://telia.dl.sourceforge.net/sourceforge/mingw/MinGW-1.1.tar.gz
sudo tar -C $PREFIX/i686-pc-mingw32/ -xvzf MinGW-1.1.tar.gz
- wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.11.2.tar.gz
- tar xzvf binutils-2.11.2.tar.gz
- cd binutils-2.11.2
+ wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.13.tar.gz
+ tar xzvf binutils-2.13.tar.gz
+ cd binutils-2.13
./configure --target=i686-pc-mingw32 --prefix=$PREFIX
make
sudo make install
______________________________________________________________________________
-GC patch
-
-Index: win32_threads.c
-===================================================================
-RCS file: /cvs/gcc/gcc/boehm-gc/win32_threads.c,v
-retrieving revision 1.9.2.2
-diff -u -r1.9.2.2 win32_threads.c
---- win32_threads.c 29 Jun 2002 17:29:51 -0000 1.9.2.2
-+++ win32_threads.c 2 Jul 2002 18:10:02 -0000
-@@ -134,10 +134,7 @@
- (LPCONTEXT)&thread_table[i].context))
- ABORT("GetThreadContext failed");
- # ifdef I386
-- if (thread_table[i].context.Esp >= (DWORD)thread_table[i].stack
-- || thread_table[i].context.Esp < (DWORD)bottom)
-- ABORT("Thread stack pointer out of range");
-- GC_push_one ((word) thread_table[i].context.Edi);
-+ GC_push_one ((word) thread_table[i].context.Edi);
- GC_push_one ((word) thread_table[i].context.Esi);
- GC_push_one ((word) thread_table[i].context.Ebp);
- GC_push_one ((word) thread_table[i].context.Ebx);
-
-
-
-______________________________________________________________________________
Throwable.printStackTrace() patch
Index: Class.h