OSLib building
John Tytgat
John.Tytgat at aaug.net
Fri Mar 26 17:30:48 GMT 2004
Hi,
Is it still the intention to support RISC OS building, or is Unix-only
building ? It looks like I'm having the same problems as mentioned in
the "Changes to the assembler headers" thread.
--8<--
do objasm -I<OSLib$Path> -Throwback -apcs 3/32bit -from asm.XOSHeapResizeNoFail -to <OSLib$Output>
ARM AOF Macro Assembler 3.28 (Acorn Computers Ltd) [20 Jun 2003]
Error: File "oslib.Hdr.Types" could not be opened
Error: Bad GET or INCLUDE at line 13 in file Hdr.OSHeap
included by GET/INCLUDE directive at line 24 in file "asm.XOSHeapResizeNoFail"
13 00000000 GET oslib/Hdr/Types
Error: File "oslib.Hdr.Types" could not be opened
Error: Bad GET or INCLUDE at line 13 in file ADFS::Zion.$.Develop.LocalCVSViews.Local OSLib.OSLib.!OsLib.Source.Core.oslib.Hdr.OS
included by GET/INCLUDE directive at line 23 in file "Hdr.OSHeap"
included by GET/INCLUDE directive at line 24 in file "asm.XOSHeapResizeNoFail"
13 00000000 GET oslib.Hdr.Types
Error: Undefined symbol at line 742 in file ADFS::Zion.$.Develop.LocalCVSViews.Local OSLib.OSLib.!OsLib.Source.Core.oslib.Hdr.OS
included by GET/INCLUDE directive at line 23 in file "Hdr.OSHeap"
included by GET/INCLUDE directive at line 24 in file "asm.XOSHeapResizeNoFail"
742 00000000 OS_ColourPair_on # OS_Colour
--8<--
Any solution ?
Some feedback of changes I did before stumbling in abot mentioned problem :
- IMHO !OsLib/!Readme should mention the C$MODE system variable, i.e.
when not defined or different from "32" (without quotes), you do an
APCS-R build, when set to "32" (without quotes), you do a APCS-32 build
instead.
- It looks to me that the "ToLower" project needs some more support :
--8<--
Index: oslib/!oslib/Tools/Makefile,fe1
===================================================================
RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/Tools/Makefile,fe1,v
retrieving revision 1.2
diff -u -r1.2 Makefile,fe1
--- oslib/!oslib/Tools/Makefile,fe1 31 Dec 2003 14:42:40 -0000 1.2
+++ oslib/!oslib/Tools/Makefile,fe1 26 Mar 2004 15:48:23 -0000
@@ -34,6 +34,7 @@
${MAKE} -f ${DIR}.Rm.Makefile tree
${MAKE} -f ${DIR}.StripDepends.Makefile tree
${MAKE} -f ${DIR}.bison.Makefile tree
+ ${MAKE} -f ${DIR}.ToLower.Makefile tree
@ifthere ${DIR}.tree then stamp ${DIR}.tree else create ${DIR}.tree
clean:
@@ -54,6 +55,7 @@
${MAKE} -f ${DIR}.Rm.Makefile stripdepends
${MAKE} -f ${DIR}.StripDepends.Makefile stripdepends
${MAKE} -f ${DIR}.bison.Makefile stripdepends
+ ${MAKE} -f ${DIR}.ToLower.Makefile stripdepends
archive_source:
cdir ${ARCHIVE}
@@ -65,3 +67,4 @@
${MAKE} -f ${DIR}.Rm.Makefile archive_source ARCHIVE=${ARCHIVE}.Rm
${MAKE} -f ${DIR}.StripDepends.Makefile archive_source ARCHIVE=${ARCHIVE}.StripDepends
${MAKE} -f ${DIR}.bison.Makefile archive_source ARCHIVE=${ARCHIVE}.bison
+ ${MAKE} -f ${DIR}.ToLower.Makefile archive_source ARCHIVE=${ARCHIVE}.ToLower
--8<--
- RISC OS building stops with the error "File 'ASMCMD' not found". I guess
this is because of ASMCMD not being defined in the RISC OS Makefile:
--8<--
Index: oslib/!oslib/Tools/DefMod2/defmod/Build_RISCOS/Makefile,fe1
===================================================================
RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/Tools/DefMod2/defmod/Build_RISCOS/Makefile,fe1,v
retrieving revision 1.10
diff -u -r1.10 Makefile,fe1
--- oslib/!oslib/Tools/DefMod2/defmod/Build_RISCOS/Makefile,fe1 29 Dec 2003 11:40:20 -0000 1.10
+++ oslib/!oslib/Tools/DefMod2/defmod/Build_RISCOS/Makefile,fe1 26 Mar 2004 16:00:56 -0000
@@ -11,7 +11,7 @@
INCLUDES = -I at .^. -I at .^.sources. -I at .^.support. -IC:
ASMINCLUDES = -I^.oslib
#CCOPTIONS = -Wa
-DEFINES = -DTRACE=0 -DRISCOS -DEXECUTE_ON_RISCOS -DYYDEBUG=0
+DEFINES = -DTRACE=0 -DRISCOS -DASMCMD=objasm -DEXECUTE_ON_RISCOS -DYYDEBUG=0
#DEPEND = -depend !Depend
CC = cc ${DEPEND} ${INCLUDES} ${CCOPTIONS} ${DEFINES} -facfK -wcp -throwback
--8<--
Regards,
John.
--
John Tytgat, in his comfy chair at home BASS
John.Tytgat at aaug.net ARM powered, RISC OS driven
More information about the oslib-user
mailing list