discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep make question


From: Truls Becken
Subject: Re: GNUstep make question
Date: Mon, 20 Dec 2010 17:17:16 +0100

On 2010-12-20, at 16:43, Andreas Höschler wrote:

> Hi all,
> 
> I am using the most recent gnustep make to build a bundle on MacOSX 10.6. It 
> seems that 64 bit binaries are the default on 10.6 now. The 64bit success, 
> but the resulting app crashes due to a bug in some third party software. I 
> therefore try to convince gnustep make to make  be a 32bit binary. How can I 
> do that??
> 
> I tried
> 
> ADDITIONAL_CCFLAGS += -arch i386
> 
> and also 
> 
> ADDITIONAL_CCFLAGS += -m32
> 
> but nevertheless get
> 
>             -MMD -MP -DNeXT_Foundation_LIBRARY=1 -DNeXT_GUI_LIBRARY=1 
> -DNeXT_RUNTIME=1 -dynamic -fno-common -Wall -DGSWARN -DGSDIAGNOSE -Wno-import 
> -g -O2 -fno-strict-aliasing -fnext-runtime -Wno-parentheses -Wno-import -I. 
> -I/usr/local/include/ -F/Library/Frameworks/ \
> ...
>           /usr/bin/install -c -p  -m 644 ./$file \
>                 /usr/local/include/SOFrontBaseBundle/$file; \
> 
> and I guess the - m644 means that I still get a 64bit build!?

-m644 is the permissions (owner writable, group and world readable) that are 
put on the files when they are copied to the destination.

I don't think ADDITIONAL_CCFLAGS is the correct name of the variable, though. I 
think you need to use ADDITIONAL_CFLAGS and ADDITIONAL_OBJCFLAGS, depending on 
whether you have both C and Objective-C source files.

-Truls


reply via email to

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