To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3068
3067  |  3069
Subject: 
Re: workaround.patch for h8300-hms-ld crash
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 6 Jan 2003 00:01:53 GMT
Viewed: 
3021 times
  
John M. Adams wrote:
I seems that you posted to lugnet.robotics.rcx.legos a workaround
patch for an h8300-hms-ld crash.  This does not seem accessible to me
via the lugnet web interface.  I wonder whether you could send me your
patch.

No problem. Stupid lugnet server stripped out the attachments. Here is the
patch, both attached and inline.

BrickOS maintainers: How about applying (some ideas from) this patch?

Max



Index: Makefile.user
===================================================================
RCS file: /cvsroot/brickos/brickos/Makefile.user,v
retrieving revision 1.8
diff -u -r1.8 Makefile.user
--- Makefile.user 23 Oct 2002 06:04:31 -0000 1.8
+++ Makefile.user 7 Dec 2002 02:32:26 -0000
@@ -45,13 +45,19 @@
%.dis2: %.dmap %.dis
  $(MERGEMAP) $*.dmap $*.dis > $@

-#  How to make srec files of dynamic executables
-%.ds1: %.o $(DOBJECTS) $(DYNAMIC_LDS)
- $(LD) $(DLDFLAGS) $*.o $(DOBJECTS) $(LIBS) -o $@ -Ttext $(BASE1)
+#  How to make coff files of dynamic executables (twice, for makelx)
+%.dc1: %.o $(DOBJECTS) $(DYNAMIC_LDS)
+ $(LD) $(DLDFLAGS) $*.o $(DOBJECTS) $(LIBS) -o $@ --oformat
coff-h8300 -Ttext $(BASE1)

-#  How to make srec files of dynamic executables
-%.ds2: %.o $(DOBJECTS) $(DYNAMIC_LDS)
- $(LD) $(DLDFLAGS) $*.o $(DOBJECTS) $(LIBS) -o $@ -Ttext $(BASE2)
+%.dc2: %.o $(DOBJECTS) $(DYNAMIC_LDS)
+ $(LD) $(DLDFLAGS) $*.o $(DOBJECTS) $(LIBS) -o $@ --oformat
coff-h8300 -Ttext $(BASE2)
+
+#  How to make srec files from coff files (twice, for makelx)
+%.ds2: %.dc2
+ $(OBJCOPY) -I coff-h8300 -O symbolsrec $< $@
+
+%.ds1: %.dc1
+ $(OBJCOPY) -I coff-h8300 -O symbolsrec $< $@

%.lx: %.ds1 %.ds2
  $(MAKELX) $*.ds1 $*.ds2 $@


--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: application/octet-stream;
    name="workaround.patch"
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: attachment;
    filename="workaround.patch"
    Content-Length: 1525



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR