home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-09-28 | 5.4 KB | 152 lines | [TEXT/MPS ] |
- Metrowerks PowerPC C/C++ Compiler & Linker for MPW
- ==================================================
-
- Version: 1.1.1a2 (CW4.5)
- Date: September 28, 1994
-
-
- Note
- ----
-
- This release of the Metrowerks MPW tools for PPC is based on the same sources
- as the 1.1.1 release of the Metrowerks CodeWarrior IDE. This compiler should
- behave the same as the PowerPC IDE version, with the exception of the handling
- of include file searching which is not recursive.
-
- This compiler is a Fat Binary and runs native on PowerPC when using the
- MPW 3.4a7 (or better) shell. Object files and object libraries produced by
- this tool can be used as libraries by the IDE environment.
-
- At any time, you can check the version of the compiler using the “-version”
- parameter.
-
- When reporting problems please include this information. This is important
- as this information will include information regarding how the compiler was
- run (native PPC vs 68k).
-
- Changes since CW4
- -----------------
-
- In many areas this release represents a general cleanup. Compiler messages have been
- improved to be more consistant with MPW:
-
- # #error "foobar"
- # ^
- ### Error : preprocessor Error
- #----------------------------------------------------------
- File "Rivendell:Metrowerks:*Phoenix:πs:EnvMacHeaders:EnvMacHeaders.c"; Line 5
- #----------------------------------------------------------
-
- Currently illegal characters may point to the beginning of the symbol before
- the character. In the case of comments the first two characters of the comment
- are treated as the location of the symbol.
-
- The object file format has been updated with this release such that objectfiles
- generated with MPW can be directly used by the IDE (Integrated Development Environment)
-
- Searching of include paths are improved so that they can be lists. This allows
- the Shell variable MWCIncludes to be set to a list of paths. For example if
- you setup MWerks to point to the IDE you could setup the variable to search
- the ANSI Headers and Universal Headers with the following commands:
-
- Set MWCIncludes "{MWerks}Headers ƒ:ANSI Headers ƒ:,{MWerks}Headers ƒ:Universal Headers ƒ:"
- Export MWCIncludes
-
- The Compiler now supports Commando. Options not generated by the commando dialog
- duplicates of options generated by the commando dialog.
-
- Aliases should now be handled correctly.
-
- When building a native PPC tool the MPW library StdCLib should be used, with
- the library MWStdCRuntime.Lib (not StdCRuntime.o or MWCRuntime.o). In addition
- the library MWStdCRuntime.Lib must come before StdCLib and two warnings will
- be generated about duplicate symbol definitions.
-
- The -p option of the MWLinkPPC tool now prints out information about memory usage.
- Addition both the linker and compiler use line buffering to better provide
- information while the tool is running.
-
- If you use -p with -e it will display the virtual source generate to
- produce #define, #undef, #include statements for the -d, -u and -load
- options.
-
- In general the linker was modified to spin the cursor a bit more often, when
- generating the SYM file.
-
- The #line directive was modified to allow the error handler to generate a
- valid path to the specified file if it exists. If the file does not exist
- then the first 64 characters of the file are used.
-
-
- Compatiblity Options
- --------------------
-
- A number of options exist in both the compiler and linker which are only
- to make the compiler more compatible with existing makefiles.
-
- Compiler Options:
-
- -char type generates a warning if the option is set to
- anything but: -char signed.
- -currdir does nothing compatiblity only
- -j0, -j1, -j2 Generate warnings
- -jm produces a warning and sets the -mpw_pointers option on
- -ldsize 64 is supported but only supports the 64 bit size.
- -r alias for -proto strict (68K C compatiblity)
- -y path does nothing compatiblity only
- -w iserror turns warnings into errors. (MrC compatiblity)
-
- Linker Options:
-
- -dead on|off compatiblity only does nothing.
- -@export filename compatible with PPCLink.
-
-
- New Options
- -----------
-
- Compiler:
- -ansi on|off|strict control ansi restrictions
- -d name[=value] define a preprocessor symbol
- -u name undefine a preprocessor symbol
- -once only include header files once
- -notonce allow multiple including of headers
- -maxerrors <number> to set the max number of errors to print.
- -mpw_pointers removes some restrictions on pointer types.
- -rostr was -readonlystrings but that seamed a bit long
- -e run the preprocessor and output the result.
- -opt on|all all can be used with other options -opt on,nopeep...
- -nomapcr was -unixnl
- -mapcr was -mpwnl
-
- Linker:
- -c 'cccc' set file creator (MPW Link tool (68k version))
- -t 'cccc' set file type (MPW Link tool (68k version))
- -cv num set current version for PEF output
- -dv num set definition version for PEF output
- -uv num set implementation version
- -d ingore duplicates
-
- Fixed Options
- -------------
-
- Compiler:
- -prefix filename which incorrectly skipped on parameter and used the next.
- -o pathname to check it's parameter to see if it is a directory.
-
- Linker:
- -map filename now works.
-
-
- Bug Reports
- ```````````
-
- Please send in your bug reports using the Applelink Bug Report Template stored
- in the release notes folder. Send reports to:
-
- Applelink: SUPPORTWERKS
- Internet: support@metrowerks.ca with cc:mpw@metrowerks.ca or ath@metrowerks.ca
-
- ---------------------------------------------------------------------------------
- Metrowerks, Inc.
-