Gorm Installation On Windows

From GNUstepWiki

Revision as of 03:49, 31 March 2005; view current revision
←Older revision | Newer 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 ../
  # 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)

As of version 0.9.5 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.