Mail Archives: djgpp-workers/2003/05/09/05:13:34
Two proposed patches to fix part of the problems:
src/makefile:
--- makefile.old Fri May 9 03:47:26 2003
+++ makefile Fri May 9 03:29:50 2003
@@ -38,2 +38,3 @@
$(MAKE) -C stub native
+ $(MAKE) -C utils native
$(MAKE) -C dxe native
src/utils/makefile:
--- makefile.old Fri May 9 03:48:46 2003
+++ makefile Fri May 9 03:37:42 2003
@@ -26,2 +26,8 @@
+native :: $(HOSTBIN)/bin2h.exe
+ $(NOP)
+
+$(HOSTBIN)/bin2h.exe : bin2h.c
+ $(GCC) bin2h.c -o $@
+
$(BIN)/rem.com : rem.asm
src/dxe/makefile:
--- makefile Fri May 9 03:42:46 2003
+++ makefile.old Wed Apr 23 17:11:16 2003
@@ -14,8 +14,9 @@
-native :: $(HOSTBIN)/dxegen.exe
- $(NOP)
+native :: \
+ $(HOSTBIN)/dxegen.exe \
+ $E
.o.h:
- $(CROSS_STRIP) --strip-unneeded $<
- $(HOSTBIN)/bin2h.exe $< $(basename $<) $@
+ strip --strip-unneeded $<
+ bin2h $< $(basename $<) $@
Note the last dxe makefile dif is partial - it doesn't fix the dxe3gen
compile/link cross issues.
Changing the dxe.h include file was just the first issue - it also uses
unconst.h to silence warnings - which isn't universally available.
I may just put an ifdef in to use relative syntax if the cross LD
define string is passed.
In the case of big endian - I might make dxe3gen generate a "dummy"
file so the build mostly works, except for EMU387.DXE?
So this still needs to be resolved, but that's all I have time from
here in Wiesbaden
- Raw text -