Difference between revisions of "Gorm Installation On Windows"
(Category:Microsoft Windows added) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | === Steps to build Gorm on Windows === | + | === Steps to build Gorm on Windows (pre-0.9.5) === |
1) Install mingw as described here: | 1) Install mingw as described here: | ||
− | [[Installation | + | [[Installation on Windows]] |
2) Go to the Gorm directory under gnustep/dev-apps/Gorm | 2) Go to the Gorm directory under gnustep/dev-apps/Gorm | ||
Line 22: | Line 22: | ||
4) CVS versions of Gorm have install-windows.sh which contains the commands listed above. | 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. | ||
+ | |||
+ | [[Category:Microsoft Windows]] |
Latest revision as of 19:29, 3 April 2009
Steps to build Gorm on Windows (pre-0.9.5)
1) Install mingw as described here:
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.