This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.4 PATCH: Pass multilib flags to libobjc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]