Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

lobobjc2 with gcc

11 views
Skip to first unread message

Riccardo Mottola

unread,
Oct 14, 2012, 6:02:53 PM10/14/12
to Discuss-gnustep Discuss
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.


Riccardo

David Chisnall

unread,
Oct 15, 2012, 2:30:49 AM10/15/12
to Riccardo Mottola, Discuss-gnustep Discuss
I need to check that this option is still required. LLVM's integrated assembler was not able to parse some of the assembly in objc_msgSend(), but I think it should be able to now.

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

-- Send from my Jacquard Loom


Sebastian Reitenbach

unread,
Oct 15, 2012, 2:32:22 AM10/15/12
to Riccardo Mottola, Discuss-gnustep Discuss
Hi,

Am Montag, 15. Oktober 2012 00:02 CEST, Riccardo Mottola <riccardo...@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
0 new messages