discuss-gnustep
[Top][All Lists]
Advanced

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

Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3


From: Csanyi Pal
Subject: Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3
Date: Sun, 19 Feb 2012 12:36:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Sašo Kiselkov <address@hidden> writes:

> On 02/19/2012 12:11 PM, Csanyi Pal wrote:
>> Csanyi Pal <address@hidden> writes:
>>> gcc-4.6 HKSyntaxDefinition.m -c \
>>>               -MMD -MP -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
>>>               -fno-strict-aliasing -fexceptions -fobjc-exceptions
>>>               -D_NATIVE_OBJC_EXCEPTIONS -fPIC -Wall -DGSWARN
>>>               -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -W -Wall
>>>               -Wno-unused -I./derived_src
>>>               -I. -I/home/csanyipal/GNUstep/Library/Headers
>>>               -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ 
>>>                -o obj/HighlighterKit.obj/HKSyntaxDefinition.m.o
>
> Here's your problem: your compiler line is missing the
> "-fconstant-string-class=NSConstantString" option. For some reason your
> gnustep-make doesn't want to append that flag, but why I have no idea -
> hope somebody with more gnustep-make knowledge can chime in. In the mean
> time, you try modifying the GNUmakefile and add a:
>
> ADDITIONAL_OBJCFLAGS += -fconstant-string-class=NSConstantString
>
> line right after the
>
> include $(GNUSTEP_MAKEFILES)/common.make
>
> line.

That did the trick!

Now I can 'make' HighlighterKit with the original HKSyntaxDefinition.m
file.

-- 
Regards from Pal




reply via email to

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