home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / MW MPW Binaries 1.1.1a2 / mwcPPC / mwcPPC 1.1.1a2 Release Notes < prev    next >
Encoding:
Text File  |  1994-09-28  |  5.4 KB  |  152 lines  |  [TEXT/MPS ]

  1. Metrowerks PowerPC C/C++ Compiler & Linker for MPW
  2. ==================================================
  3.  
  4. Version: 1.1.1a2 (CW4.5)
  5. Date:    September 28, 1994
  6.  
  7.  
  8. Note
  9. ----
  10.  
  11. This release of the Metrowerks MPW tools for PPC is based on the same sources
  12. as the 1.1.1 release of the Metrowerks CodeWarrior IDE. This compiler should
  13. behave the same as the PowerPC IDE version, with the exception of the handling
  14. of include file searching which is not recursive.
  15.  
  16. This compiler is a Fat Binary and runs native on PowerPC when using the
  17. MPW 3.4a7 (or better) shell. Object files and object libraries produced by
  18. this tool can be used as libraries by the IDE environment.
  19.  
  20. At any time, you can check the version of the compiler using the “-version” 
  21. parameter.
  22.  
  23. When reporting problems please include this information. This is important 
  24. as this information will include information regarding how the compiler was 
  25. run (native PPC vs 68k).
  26.  
  27. Changes since CW4
  28. -----------------
  29.  
  30. In many areas this release represents a general cleanup. Compiler messages have been
  31. improved to be more consistant with MPW:
  32.  
  33. #    #error "foobar"
  34. #         ^
  35. ### Error   : preprocessor Error
  36. #----------------------------------------------------------
  37. File "Rivendell:Metrowerks:*Phoenix:πs:EnvMacHeaders:EnvMacHeaders.c"; Line 5
  38. #----------------------------------------------------------
  39.  
  40. Currently illegal characters may point to the beginning of the symbol before
  41. the character. In the case of comments the first two characters of the comment
  42. are treated as the location of the symbol.
  43.  
  44. The object file format has been updated with this release such that objectfiles
  45. generated with MPW can be directly used by the IDE (Integrated Development Environment)
  46.  
  47. Searching of include paths are improved so that they can be lists. This allows
  48. the Shell variable MWCIncludes to be set to a list of paths. For example if
  49. you setup MWerks to point to the IDE you could setup the variable to search
  50. the ANSI Headers and Universal Headers with the following commands:
  51.  
  52. Set MWCIncludes "{MWerks}Headers ƒ:ANSI Headers ƒ:,{MWerks}Headers ƒ:Universal Headers ƒ:"
  53. Export MWCIncludes
  54.  
  55. The Compiler now supports Commando. Options not generated by the commando dialog
  56. duplicates of options generated by the commando dialog.
  57.  
  58. Aliases should now be handled correctly.
  59.  
  60. When building a native PPC tool the MPW library StdCLib should be used, with
  61. the library MWStdCRuntime.Lib (not StdCRuntime.o or MWCRuntime.o). In addition
  62. the library MWStdCRuntime.Lib must come before StdCLib and two warnings will
  63. be generated about duplicate symbol definitions.
  64.  
  65. The -p option of the MWLinkPPC tool now prints out information about memory usage.
  66. Addition both the linker and compiler use line buffering to better provide
  67. information while the tool is running.
  68.  
  69. If you use -p with -e it will display the virtual source generate to
  70. produce #define, #undef, #include statements for the -d, -u and -load
  71. options.
  72.  
  73. In general the linker was modified to spin the cursor a bit more often, when
  74. generating the SYM file.
  75.  
  76. The #line directive was modified to allow the error handler to generate a
  77. valid path to the specified file if it exists. If the file does not exist
  78. then the first 64 characters of the file are used.
  79.  
  80.  
  81. Compatiblity Options
  82. --------------------
  83.  
  84.     A number of options exist in both the compiler and linker which are only
  85.     to make the compiler more compatible with existing makefiles.
  86.     
  87.     Compiler Options:
  88.     
  89.     -char type                generates a warning if the option is set to
  90.                             anything but: -char signed.
  91.     -currdir                does nothing compatiblity only
  92.     -j0, -j1, -j2            Generate warnings
  93.     -jm                        produces a warning and sets the -mpw_pointers option on
  94.     -ldsize 64                is supported but only supports the 64 bit size.
  95.     -r                        alias for -proto strict (68K C compatiblity)
  96.     -y path                    does nothing compatiblity only
  97.     -w iserror                turns warnings into errors. (MrC compatiblity)
  98.  
  99.     Linker Options:
  100.     
  101.     -dead on|off            compatiblity only does nothing.
  102.     -@export filename        compatible with PPCLink.
  103.  
  104.  
  105. New Options
  106. -----------
  107.  
  108. Compiler:
  109.     -ansi on|off|strict        control ansi restrictions
  110.     -d name[=value]            define a preprocessor symbol
  111.     -u name                    undefine a preprocessor symbol
  112.     -once                    only include header files once
  113.     -notonce                allow multiple including of headers
  114.     -maxerrors <number>        to set the max number of errors to print.
  115.     -mpw_pointers            removes some restrictions on pointer types.
  116.     -rostr                     was -readonlystrings but that seamed a bit long
  117.     -e                        run the preprocessor and output the result.
  118.     -opt on|all                all can be used with other options -opt on,nopeep...
  119.     -nomapcr                was -unixnl
  120.     -mapcr                    was -mpwnl
  121.  
  122. Linker:
  123.     -c 'cccc'                set file creator (MPW Link tool (68k version))
  124.     -t 'cccc'                set file type (MPW Link tool (68k version))
  125.     -cv num                    set current version for PEF output
  126.     -dv num                    set definition version for PEF output
  127.     -uv num                    set implementation version
  128.     -d                        ingore duplicates
  129.     
  130. Fixed Options
  131. -------------
  132.  
  133. Compiler:
  134.     -prefix    filename        which incorrectly skipped on parameter and used the next.
  135.     -o pathname                to check it's parameter to see if it is a directory.
  136.     
  137. Linker:
  138.     -map filename            now works.
  139.  
  140.  
  141. Bug Reports
  142. ```````````
  143.  
  144. Please send in your bug reports using the Applelink Bug Report Template stored
  145. in the release notes folder. Send reports to:
  146.  
  147. Applelink:  SUPPORTWERKS
  148. Internet:   support@metrowerks.ca with cc:mpw@metrowerks.ca or ath@metrowerks.ca
  149.  
  150. ---------------------------------------------------------------------------------
  151. Metrowerks, Inc.
  152.