From: <to...@us...> - 2003-02-28 19:32:38
|
Update of /cvsroot/ro-oslib/OSLib/!OsLib/docs In directory sc8-pr-cvs1:/tmp/cvs-serv8869/OSLib/!OsLib/docs Modified Files: ChangeLog OSLib_readme Log Message: OSLib 6.50 - Changelog ref. 20030228 Index: ChangeLog =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/docs/ChangeLog,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** ChangeLog 11 Jan 2003 14:53:48 -0000 1.32 --- ChangeLog 28 Feb 2003 19:31:59 -0000 1.33 *************** *** 1,4 **** ! OSLib Next Version ------------------ * Enhancements: - Defines ADFS_DiscOp64 for RISC O S 5 and adds placeholders for two --- 1,7 ---- ! OSLib 6.50 - Tony van der Hoff - 26/03/2003 ------------------ + * To facilitate cross referencing this file with CVS updates, a reference + number is now included, as well as the originator of the change. + * Enhancements: - Defines ADFS_DiscOp64 for RISC O S 5 and adds placeholders for two *************** *** 15,19 **** - Define FileCore_Features. (Tom Hughes) - Define OS_LeaveOS. (Tom Hughes) ! OSLib Version 6.40 - Tony van der Hoff - 28/11/2002 ------------------ --- 18,40 ---- - Define FileCore_Features. (Tom Hughes) - Define OS_LeaveOS. (Tom Hughes) ! - Defines Territory_AlphabetLatin5, Territory_AlphabetWelsh, ! Territory_AlphabetLatin9, Territory_AlphabetLatin6. ! (20030226-1, Theo Markettos) ! - Amended OSLib_Readme to clarify use of compiler and linker. ! (20030226-1, Tony van der Hoff) ! ! * Bug Fixes: ! - Changes char* to toolbox_msg_ref for: ! textarea_gadget.text, textarea_object.text, ! toolaction_gadget.off_text, toolaction_object.off_text ! (20030226-1, Dave Appleby) ! - Corrected Help Text for FileSwitch Error_NotFound ! (20030226-1, J-J van der Geer) ! - Corrected capitalisation of include file "Wimp" in: ! ArcWeb, Filer, FilerAction, Filter, InetSuite, OLE, PDriver, ! PlugIn, StrongHelp, TaskWindow, URI. (20030226-1, P. Ludlam) ! - Added Toolaction, which was missing, to Toolbox MakeFile ! (20030226-1, J.M. Temple) ! OSLib Version 6.40 - Tony van der Hoff - 28/11/2002 ------------------ Index: OSLib_readme =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/docs/OSLib_readme,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** OSLib_readme 26 Feb 2003 17:40:08 -0000 1.4 --- OSLib_readme 28 Feb 2003 19:32:01 -0000 1.5 *************** *** 98,101 **** --- 98,103 ---- executed before you attempt to build anything using the library. + Compiling + --------- In any source file from which you want to call an OSLib veneer, you will have to specify where it is to be found with a line of the type *************** *** 105,108 **** --- 107,122 ---- specifying "-IOSLib:" on the command line. + A typical Norcroft C compiler command line for a C module using OSLib and + OSLibSupport will be similar to: + + cc -c -afh -apcs 3/32 -IOSLibSupport:,OSLib:,C: -o foo.o foo.c + + For GCC the equivalent command would be (note that there are better ways of + using GCC to compile and link): + + gcc -c -IOSLibSupport:,OSLib: -o foo.o foo.c + + Please refer to your compiler manual for details on the use of the command line. + The above gives the preferred way of using OSLib. However, much existing code will not contain the "oslib/" prefix in the #include line. If you don't *************** *** 112,119 **** prefixed form for safety. ! If you still have problems, then subscribe to the OSLib-User mail list, as ! described on the web site, and ask your question there. ! -------------------- Tony van der Hoff. --- 126,151 ---- prefixed form for safety. ! Linking ! ------- ! The only OSLib-specific precaution required for the linking stage is to include ! OSLib (and OSLibSupport, if required) on the command line. ! A typical Link command would be: ! ! link foo1.o foo2.o ... OSLibSupport:OSLibSupport.o OSLib:OSLib.o C:stubs.o + Again, this is inherent in the tool usage, there is nothing special about + its use with OSLib. + + Help is at hand + --------------- + + If, having read, and re-read this documentation, and the related FAQ on the + web site, you still have problems, then subscribe to the OSLib-User mail + list, as described on the web site, and ask your question there. + + The OSLib web-site is at http://ro-oslib.sourceforge.net. + + -------------------- Tony van der Hoff. + 20030227 |