discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Cross Compiling for OS X?


From: Andreas Höschler
Subject: Re: Cross Compiling for OS X?
Date: Wed, 4 Jun 2008 09:36:36 +0200

Hi Benoit,

        I think I have done this :
- I installed GNUstep Make and BaseAdditions on Mac OS X 10.3 (it was 2 years ago so not the Make 2.0 version, I don't know if it works with the new version),
                - I used a GNUmakefile like this one :

----
# This usually happens when you source GNUstep.sh, then run ./configure,
# then log out, then log in again and try to compile
ifeq ($(GNUSTEP_MAKEFILES),)
$(error You need to run the GNUstep configuration script before compiling!)
endif

include $(GNUSTEP_MAKEFILES)/common.make

APP_NAME = WRP

WRP_MAIN_MODEL_FILE = MainMenu
WRP_APPLICATION_ICON = WRP.icns
WRP_PRINCIPAL_CLASS = NSApplication

WRP_RESOURCE_FILES = gui/* Images/* Resources/*

WRP_OBJC_FILES = main.m \
...
snip a bunch of sources files
...
DEGeneralPrefsController.m \
GSStringCat.m

include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/application.make

Thanks a lot. This actually works for me as well (now). My only mistake was to not include <applicationname>.icns in XXX_RESOURCES (so stupid). That was the reason for not getting a reasonable application icon on MacOSX. Great, it seems I can get along without xCode now. :-)

Regards,

  Andreas





reply via email to

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