[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lobobjc2 with gcc
From: |
Sebastian Reitenbach |
Subject: |
Re: lobobjc2 with gcc |
Date: |
Mon, 15 Oct 2012 08:32:22 +0200 |
User-agent: |
SOGoMail 2.0.1 |
Hi,
Am Montag, 15. Oktober 2012 00:02 CEST, Riccardo Mottola
<riccardo.mottola@libero.it> schrieb:
> Hi,
>
> when compiling libobjc2 with gcc, I get:
> Compiling file objc_msgSend.S ...
> gcc: error: unrecognized option '-no-integrated-as'
> gmake[3]: *** [obj/libobjc.obj/objc_msgSend.S.o] Error 1
>
>
> I just removed it and it compiled/installed fine and "seems" to work.
> FUrther testing will follow.
when I see this:
$ grep integrated-as *
GNUmakefile: $(ECHO_COMPILING)$(CC) -no-integrated-as $< -c \
Makefile:ASMFLAGS += `if $(CC) -v 2>&1| grep -q 'clang' ; then echo
-no-integrated-as ; fi`
can it be that you are using the GNUMakefile instead of the Makefile?
You should use the Makefile ;)
But the Makefile has a different issue:
-Wno-deprecated-objc-isa-usage
is not known to gcc, at least for me gcc 4.2.1 on OpenBSD.
So you should comment out that CFLAGS line, then I'd guess it should work for
you.
cheers,
Sebastian
>
>
> Riccardo
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep