[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Understanding objc.test
From: |
Akim Demaille |
Subject: |
Re: Understanding objc.test |
Date: |
09 Apr 2001 18:09:26 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
>>>>> "Tom" == Tom Tromey <address@hidden> writes:
>>>>> "Akim" == akim <address@hidden> writes:
Akim> I don't understand the test objc.test (which fails with one of
Akim> the patches I work on).
Akim> I don't understand why $(LINK) should be (and was) defined.
Tom> Objective C shouldn't be a `pure' language. My understanding is
Tom> that in this case you want to use the `C' linker. If not then
Tom> contact and ObjC hacker to get truer information.
objc.test now fails :(
So what should I actually do? I really think the code is right, and
the test is wrong. Based on the assumption that the test is right,
and Automake is wrong, my proposal is:
Index: ChangeLog
from Akim Demaille <address@hidden>
* automake.in (objc): Is not a pure language.
* tests/objc.test: Don't define Objc suffix rules.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1032
diff -u -u -r1.1032 automake.in
--- automake.in 2001/04/09 15:02:08 1.1032
+++ automake.in 2001/04/09 16:08:06
@@ -729,7 +729,6 @@
'compile=$(OBJC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS)
$(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS)',
'compiler-name=OBJCCOMPILE',
'output-arg=-c -o $@',
- 'pure=yes',
'm');
®ister_language ('header',
'h', 'H', 'hxx', 'h++', 'hh', 'hpp', 'inc');
Index: tests/objc.test
===================================================================
RCS file: /cvs/automake/automake/tests/objc.test,v
retrieving revision 1.3
diff -u -u -r1.3 objc.test
--- tests/objc.test 2001/04/09 14:50:52 1.3
+++ tests/objc.test 2001/04/09 16:08:10
@@ -9,10 +9,6 @@
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = foo.m
-
-SUFFIXES = .m
-.m.o:
- whatever
END
: > foo.m
- Re: Understanding objc.test,
Akim Demaille <=