This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


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

IRIX 6.3's as doesn't like #line directives


"/home/msc/oliva/src/libgcj-2.95/boehm-gc/mips_sgi_mach_dep.s", line 1: error(1014):
          extra text after expected end of preprocessing directive
  # 1 "/usr/include/sys/regdef.h" 1 3
                                    ^

This patch gets us rid of them:

Index: boehm-gc/ChangeLog
from  Alexandre Oliva  <oliva@dcc.unicamp.br>
	
	* Makefile.am (.s.lo): Avoid `#line' directives.
	* Makefile.in: Rebuilt.
	
Index: boehm-gc/Makefile.am
===================================================================
RCS file: /cvs/java/libgcj/boehm-gc/Makefile.am,v
retrieving revision 1.5.2.1
diff -u -r1.5.2.1 Makefile.am
--- boehm-gc/Makefile.am	1999/06/30 12:31:44	1.5.2.1
+++ boehm-gc/Makefile.am	1999/07/19 08:20:56
@@ -55,7 +55,7 @@
 
 ## FIXME: we shouldn't have to do this, but automake forces us to.
 .s.lo:
-	$(LTCOMPILE) -x assembler-with-cpp -c $<
+	$(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
 
 ## We have our own definition of LTCOMPILE because we want to use our
 ## CFLAGS, not those passed in from the top level make.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

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