3.4 PATCH: Pass multilib flags to libobjc
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Fri Oct 17 21:45:00 GMT 2003
David Edelsohn writes:
> What output do you expect from the patch?
>
> $(CC) $(MULTIFLAGS) -Wp,-print-objc-runtime-info tmp-runtime.m >> $@
>
> One problem is that the above command tries to link tmp-runtime.o. When
> you invoked "cc1obj" directly, it produced assembly output. Do you want
> to invoke "$(CC) -S ..."?
Oops, I had originally used -x objective-c -c tmp-runtime, but lost the -c
when switching to tmp-runtime.m and omitting the -x switch. Either -S or -c
is fine. The result file (.s or .o) should be removed afterwards.
Rainer
More information about the Gcc-patches
mailing list