discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes I had to make to install base under MingW


From: Tom Koelman
Subject: Changes I had to make to install base under MingW
Date: Wed, 13 Nov 2002 00:28:28 +0100

Hi,

to get base compiling under Windows2000/MingW I had to do some
changes. I thought I'd describe them here. If required I can make some
patches as well.

I followed the instructions in Readme.MinGW closely, but using newer
versions of MSYS and MinGW some changes could and had to be made. Also
I took Gnustep fresh from CVS Monday the 11th.

1. I installed MSYS-1.0.7-i386-2.exe with every setting default.
2. I installed MinGW-2.0.0-3.exe with every setting default.
3. I created c:\msys\1.0\etc\fstab containing the following line:
c:/mingw                /mingw

4. The make delivered by this version of MinGW was already renamed, so
   I didn't have to do that myself.
5. I removed 
   C:\MinGW\lib\libobjc.a
   C:\MinGW\lib\libobjc.la
   and the directory
   C:\MinGW\lib\gcc-lib\mingw32\3.2\include\objc
6. Did install Gnustep make as described.
7. Installed ffcall-1.8d, but instead of
   RANLIB=touch; ./configure --prefix=$GNUSTEP_SYSTEM_ROOT
   make install
   I did:
   ./configure --prefix=$GNUSTEP_SYSTEM_ROOT  
--includedir=$GNUSTEP_SYSTEM_ROOT/Headers
   make
   make install
   If the --includedir is omitted, the header files are installed to
   $GNUSTEP_SYSTEM_ROOT/include. ./configure of base looks for
   callback.h in $GNUSTEP_SYSTEM_ROOT/Headers, not include, and
   consequently doesn't link ffcall in.
8. I can't get the linker to get its paths right, so I copied the
   libraries in C:\GNUstep\System\lib (libavcall.a, libavcall.la,
   libcallback.a, libcallback.la, libtrampoline.a and libvacall.a) to
   C:\MinGW\lib.
9. Building libobjc went well, but because of my linker problems I
   copied C:\GNUstep\System\Libraries\ix86\mingw32\libobjc.a to
   C:\MinGW\lib as well.
10. Building base went wrong to NSThread.m using the function pipe,
    which seems to be unknown by MinGW and due to some bugs in the
    MinGW specific code in gdomap.c, so I patched those and could
    build base after that.
11. I copied libgnustep.a to C:\MinGW\lib
12. After that I was able to do a make in the Testing subdirectory of
    base and everything there compiled.

Tom





reply via email to

[Prev in Thread] Current Thread [Next in Thread]