Skip to contentSkip to conversation

ld86 0.16.15 problem fixed; 64KB limitation made worse by new bcc

PATCH Tommy McCabe 1 participant 1 message Mar 19, 2004

lore
Share & tools
lore
#0 lore raw

The ELKS kernel wouldn't compile with the 0.16.15 version of ld86; this was due to the incorrect ordering of commands, and has been fixed in a small patch. In related news, the 0.16.15 BCC compiler appears to be compiling stuff more inefficiently- a configuration that worked with 0.16.0 is too big for 64KB with 0.16.15.

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

Index: elks/arch/i86/Makefile
===================================================================
RCS file: /cvsroot/elks/elks/arch/i86/Makefile,v retrieving revision 1.29

arch/i86/Makefile +2 -1
diff -u -r1.29 Makefile
@@ -105,9 +105,10 @@
 
 boot/system:	$(AARCHIVES) $(ADRIVERS) boot/crt1.o boot/crt0.o
 	(cd $(BASEDIR) ; $(LD) $(LDFLAGS) $(ARCH_LD) \
+		-t -M -o $(ARCH_DIR)/boot/system \
 		$(ARCH_DIR)/boot/crt0.o $(ARCH_DIR)/boot/crt1.o \
 		init/main.o $(ARCHIVES) $(DRIVERS) \
-		-t -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
+		> System.tmp ; \
 		sort -k4 System.tmp > System.map ; rm -f System.tmp ) 
 
 #PC image build