Gorm Installation On Windows

From GNUstepWiki

(Difference between revisions)
Revision as of 04:02, 27 May 2005
Bheron (Talk | contribs)

← Previous diff
Current revision
IOOI (Talk | contribs)
Category:Microsoft Windows added
Line 32: Line 32:
I am currently refactoring Gorm's build process to make it cleaner and to help symplify the it on all platforms. I am currently refactoring Gorm's build process to make it cleaner and to help symplify the it on all platforms.
 +
 +[[Category:Microsoft Windows]]

Current revision

Steps to build Gorm on Windows (pre-0.9.5)

1) Install mingw as described here:

Installation on Windows

2) Go to the Gorm directory under gnustep/dev-apps/Gorm

3) Executing the following commands:

  # First build the InterfaceBuilder library...
  ln -s GormLib InterfaceBuilder
  cd InterfaceBuilder
  make install
  # Now build Gorm itself...
  cd ../
  make
  # Now install the palettes into the app and install
  make install
 

4) CVS versions of Gorm have install-windows.sh which contains the commands listed above.

For Gorm versions after 0.9.5 (CVS) or release 0.9.10

As of version 0.9.10 of Gorm, the build requires no special consideration. The above page is obsolete for these versions of Gorm. Simply doing a "make install" from the command line in the MinGW shell on Windows in the Gorm directory should install Gorm correctly.

Why is the build process different on Windows?

Because Windows uses the PE-COFF executable format which does not support weak-symbols. Unlike ELF, all symbols in programs using COFF (or one of it's variants) must have any and all symbols defined at compile time. Gorm utilizes weak symbols because it's palettes take advantage of some of the code in the Gorm application. This is normally okay on most operating systems, but on Windows it's not.

I am currently refactoring Gorm's build process to make it cleaner and to help symplify the it on all platforms.