On 02/19/2012 12:11 PM, Csanyi Pal wrote:
> Csanyi Pal <csanyi...@gmail.com> 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.

--
Saso

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to