Article View: comp.sys.mac.programmer.codewarrior
Article #1075Re: [ANN] CodeWarrior 7.2 for Mac and Mac OS X Patch is Available
From: John B. Clements
Date: Fri, 25 Jan 2002 19:41
Date: Fri, 25 Jan 2002 19:41
43 lines
3320 bytes
3320 bytes
In article <1f6kx9b.1xg9xaz1ujl7x0N%brunobl@REMOVEifrance.com>, Bruno Blondeau <brunobl@REMOVEifrance.com> wrote: >Josef W. Wankerl <jwankerl@metrowerks.com> wrote: > >> In article <jvRi0KAA3VU8EweX@seventhstring.demon.co.uk>, >> Andy Robinson <andy@seventhstring.demon.co.uk> wrote: >> >> > In folder "OS X Development Items", what are the files mwccppc and >> > mwldppc? What should I do with them? >> >> Those are the OS X command line compilers. On your Pro 7 tools CD, >> there's a corresponding folder called OS X Development Items with a note >> explaining the tools and how to install them. > >I never tried to use them, but I would be curious to know what your >goals are with these compilers (what kind of use do you expect from your >customers?) > >Are these command line compilers able to completly replace GCC? This >would be a very good goal, since your compiler is generating better >code. > Funny you should ask; I'm in the process of trying (for about the tenth time) to get away from the IDE and use the cross-platform makefiles + autoconf that works for other UNIX platforms. Just to avoid duplicating my effort, here are some of the problems I ran into: 1) use the -gccinc flag to get "normal" include behavior (that is, include paths are resolved relative to the including file.) The default behavior (look relative to the build directory) seems _crazy_ to me, because it totally breaks the abstraction of packages you may choose to include. 2) Apple's include files don't seem to correctly anticipate the use of command-line Metrowerks tools. That is, if __MWERKS__ is defined, they include files like MacroDefinitions.h (sp?) directly rather than supplying the needed relative path names. The solution is to be sure to define __CF_USE_FRAMEWORK_INCLUDES__ in your command-line calls to mwccppc 3) I still haven't figured out how to gracefully incorporate precompiled headers. john
Technical Details
Message-ID:
<a2scdg$9kb$1@camelot.ccs.neu.edu>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cis.ohio-state.edu!news.dfci.harvard.edu!news.ccs.neu.edu!not-for-mailReferences:
<mwron-539349.17200324012002@enews.newsguy.com> <jvRi0KAA3VU8EweX@seventhstring.demon.co.uk> <jwankerl-D2AAAA.09140925012002@news.mtwk.sps.mot.com> <1f6kx9b.1xg9xaz1ujl7x0N%brunobl@REMOVEifrance.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,9ce34ccd1608c6d X-Google-Attributes: gid10bcce,public X-Google-Thread: f7f77,9ce34ccd1608c6d X-Google-Attributes: gidf7f77,public X-Google-Thread: f635e,9ce34ccd1608c6d X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2002-01-25 12:00:50 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cis.ohio-state.edu!news.dfci.harvard.edu!news.ccs.neu.edu!not-for-mail From: clements@ccs.neu.edu (John B. Clements) Newsgroups: comp.sys.mac.programmer.codewarrior,comp.sys.mac.oop.powerplant,codewarrior.mac Subject: Re: [ANN] CodeWarrior 7.2 for Mac and Mac OS X Patch is Available Date: 25 Jan 2002 19:41:36 GMT Organization: Northeastern University, College of Computer Science Lines: 44 Message-ID: <a2scdg$9kb$1@camelot.ccs.neu.edu> References: <mwron-539349.17200324012002@enews.newsguy.com> <jvRi0KAA3VU8EweX@seventhstring.demon.co.uk> <jwankerl-D2AAAA.09140925012002@news.mtwk.sps.mot.com> <1f6kx9b.1xg9xaz1ujl7x0N%brunobl@REMOVEifrance.com> NNTP-Posting-Host: denali.ccs.neu.edu X-Trace: camelot.ccs.neu.edu 1011987696 9867 129.10.116.200 (25 Jan 2002 19:41:36 GMT) X-Complaints-To: usenet@ccs.neu.edu NNTP-Posting-Date: 25 Jan 2002 19:41:36 GMT X-Newsreader: trn 4.0-test72 (19 April 1999)