discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Makefile packages do not work oon OSX due to use of -traditional-cpp


From: Lars Sonchocky-Helldorf
Subject: Re: Makefile packages do not work oon OSX due to use of -traditional-cpp
Date: Tue, 15 Jul 2003 17:56:12 +0200

On 15.07.2003 17:14:49 Enrico Sersale wrote:
>On 2003-07-15 17:09:30 +0300 Lars Sonchocky-Helldorf 
><Lars.Sonchocky-Helldorf@bbdo-interone.de> wrote:
>
>> On 15.07.2003 15:16:53 Enrico Sersale wrote:
>>> Besides this problem, can somebody suggest me how to build base on 
osx?
>>
>> Do you mean GNUstep-base or base-extensions (looks like the latter 
judging by 
>the compiler output)?
>> ...
>
>This is intended to be a reply also to Nicola, David and all the people 
that 
>has answered :-)
>
>I mean GNUstep-base, not base-extensions.

Well, if you try to do so you'll have to rerun configure of GNUstep-make 
and rebuild GNUstep-make (this chaches the library combo) to change the 
library combo as Nicola said:

./configure --with-library-combo=gnu-gnu-gnu

>Adding #include "gnsutep/base/GSObjCRuntime.h"
>now I get this: (warnings removed)
>
>/usr/bin/gcc GSLocale.m -c \
>      -MMD -MP -DGNUSTEP_INSTALL_PREFIX=/usr/GNUstep/System 
>-DGNUSTEP_LOCAL_ROOT=/usr/GNUstep/Local 
>-DGNUSTEP_NETWORK_ROOT=/usr/GNUstep/Network -DGNUSTEP_TARGET_DIR=\".\" 
>-DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin6\" 

your  incorrectly set library-combo is visible here:

>-DLIBRARY_COMBO=\"apple-apple-apple\" -Wall -Wcast-align 
>-DNeXT_Foundation_LIBRARY=1 -DNeXT_GUI_LIBRARY=1 -DNeXT_RUNTIME=1 
-framework 
>Foundation -framework AppKit -traditional-cpp -dynamic -fno-common 
-DGSWARN 
>-DGSDIAGNOSE -O2 -fno-strict-aliasing -fnext-runtime -I../Headers/gnustep 

>-I../Headers -I./. -I. \
>       -o shared_obj/GSLocale.o
>In file included from GSLocale.m:25:
>../Headers/gnustep/base/GSLocale.h:32: syntax error before "const"
>../Headers/gnustep/base/GSLocale.h:33: syntax error before "NSString"
>../Headers/gnustep/base/GSLocale.h:35: syntax error before "NSDictionary"
>../Headers/gnustep/base/GSLocale.h:37: syntax error before "NSString"
>GSLocale.m: In function `GSSetLocale':
>GSLocale.m:69: warning: implicit declaration of function `strcmp'
>GSLocale.m: In function `GSLanguageFromLocale':
>GSLocale.m:243: warning: cannot find class (factory) method
>GSLocale.m:243: warning: return type for `bundleForLibrary:' defaults to 
id
>GSLocale.m:253: warning: `NSString' does not respond to `pathExtension'
>GSLocale.m:255: warning: `NSString' does not respond to 
>`stringByDeletingPathExtension'
>GSLocale.m:260: warning: `NSString' does not respond to 
`substringFromRange:'
>make[2]: *** [shared_obj/GSLocale.o] Error 1
>make[1]: *** [libgnustep-base.all.library.variables] Error 2
>make: *** [internal-all] Error 2
>
>Exactly the same with gcc 3.3 (FSF)
>
>
>
>_______________________________________________
>Discuss-gnustep mailing list
>Discuss-gnustep@gnu.org
>http://mail.gnu.org/mailman/listinfo/discuss-gnustep

greetings, Lars




reply via email to

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