Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Codewarrior 8 for Mac: trouble in installation

 
   Mac (Home) -> Programmer Code RSS
Next:  Java Dialog’s from C++  
Author Message
bg-greece

External


Since: Sep 22, 2005
Posts: 3



(Msg. 1) Posted: Mon Sep 19, 2005 5:00 pm
Post subject: Codewarrior 8 for Mac: trouble in installation
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

I am trying to install Codewarrior 8 for Mac OS X (10.3.4) and the program
exits abnormally. I read in the instructions that you can do a manual
installation by copying certain directories from the CD-ROM to hard disk.
Although this works, it is impossible to do the 8.1 (or any other 8.x)
update. Is there a solution?

Byron
Back to top
Login to vote
Ron L

External


Since: Aug 01, 2005
Posts: 52



(Msg. 2) Posted: Mon Sep 19, 2005 5:00 pm
Post subject: Re: Codewarrior 8 for Mac: trouble in installation [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <dgmgd9$247j$1@ulysses.noc.ntua.gr>,
"bg-greece" <temporary.TakeThisOut@mail.gr> wrote:

>I am trying to install Codewarrior 8 for Mac OS X (10.3.4) and the program
>exits abnormally. I read in the instructions that you can do a manual
>installation by copying certain directories from the CD-ROM to hard disk.
>Although this works, it is impossible to do the 8.1 (or any other 8.x)
>update. Is there a solution?

Best solution is wait for CW 10 but in the mean time. (read the whole
thing)

Ron


Get the XCode Tools CD, reinstall it, choose the optional packages and
there is a 10.2.8 SDK install that, you can do this even after doing
the original installation.

In CodeWarrior 8.3 global Preferences...
change your Source Tree for OS X Volume
from
/
to
/Developers/SDKs/MacOSX10.2.7SDK/

If you want to stop here you can if you have already updated to 8.3 on
10.2

But I recommend that you re-precompile the Mach-O precompiled headers .
Open the BuildMacOSXSupport.mcp
in
Metrowerks CodeWarrior 8.0
/Metrowerks CodeWarrior
/MSL/(MSL_Build_Projects)
/OS X

and build all in that.


But to rebuild the libraries...

Then... this is an unofficial and non-supported fix. Since it involves
changing Apple's header

In Apple's Limits.h
in /Developers/SDKs/MacOSX10.2.7SDK/usr/include/ppc/limits.h

Change

#ifndef _PPC_LIMITS_H_
#define _PPC_LIMITS_H_

#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */


#define CLK_TCK 100 /* ticks per second */

to


#ifndef _PPC_LIMITS_H_
#define _PPC_LIMITS_H_

#define CLK_TCK 100 /* ticks per second */

#if !_MSL_USING_MW_C_HEADERS

#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */


At the end of the file add
#endif /* _MSL_USING_MW_C_HEADERS */
before
#endif /* _PPC_LIMITS_H_ */

Rebuild the precompiled headers and rebuild the MSL Mac OS X libraries
Open the Build.MacOSX.mcp
in
Metrowerks CodeWarrior 8.0
/Metrowerks CodeWarrior
/MSL/(MSL_Build_Projects)
/OS X

You should be OK
===== and ===

Still on CW 8.3. When I added in XCode to the
mix my CW 8.3 projects started to give compile errors. I've localized
my problems to 2 areas (YMMV).

1) For BSD socket code I needed to add:

# if defined(__MWERKS__) && !defined(_BSD_SOCKLEN_T_)
# define _BSD_SOCKLEN_T_ int32_t
# endif /* defined(__MWERKS__) && !defined(_BSD_SOCKLEN_T_) */

just before my

#include <sys/socket.h>

The code in <ppc/ansi.h> that was meant to do this does not seem to get
compiled in.


2) unistd.h gave errors on line 129, 130, and 209 until I added


#if defined(__MWERKS__)
# if !defined(__dead2)
# define __dead2
# endif /* !defined(__dead2) */
# if !defined(__pure2)
# define __pure2
# endif /* !defined(__pure2) */
#endif /* defined(__MWERKS__) */

to my main header (".h") file.

I'm now back in business. Hope this helps.

--
CodeWarrior Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and our staff
-- http://www.codewarrior.com/community --

Ron Liechty - ron.liechty.TakeThisOut@freescale.com - http://www.codewarrior.com
Back to top
Login to vote
Thorsten Froehlich

External


Since: Sep 20, 2005
Posts: 4



(Msg. 3) Posted: Tue Sep 20, 2005 8:51 am
Post subject: Re: Codewarrior 8 for Mac: trouble in installation [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

bg-greece wrote:
> I am trying to install Codewarrior 8 for Mac OS X (10.3.4) and the program
> exits abnormally. I read in the instructions that you can do a manual
> installation by copying certain directories from the CD-ROM to hard disk.
> Although this works, it is impossible to do the 8.1 (or any other 8.x)
> update. Is there a solution?

It really should not be impossible if you copied things correctly. I
have *never* used the installer and *never* had any problems with the
updates. All you need to do is copy the whole CodeWarrior folder (the
one which has the CodeWarrior IDE inside) to the harddisk. You can
then just start the IDE. Of course, it assumes you have a working
system meeting the CodeWarrior requirements, which implies you have
XCode installed.

Thorsten
Back to top
Login to vote
Display posts from previous:   
Related Topics:
CodeWarrior 9.5 - Where can I download it? Thanks Felix

Codewarrior 9.5 and - Hi, I'm using Codewarrior 8 and Codewarrior 9 (9.5). In version 9.5, when debugging, before the application starts, Codewarrior spends a lot of time "caching directories". After the application stops, it spends again a lot of time "cachin...

Applescript with codewarrior - I am new to the apple script. I want to write an AppleScript that opens a CodeWarrior and creates new .mcp (project file) and apply some settings to the project file. I don't know whether its possible or not.. Can someone guide me how to do it. Thanks i...

Static library in Codewarrior - Hello, Can some one clarify me if the way I am building static libs in Metrowreks Codewarrior7.0 is correct? File-->New-->Project tab -->NetwareStationary-->Projectname-->OK-->Server-->NKS-Libc-->Generic C++ Select output type ...

Latest News on CodeWarrior 10? - Hi, At MacHack, Metrowerks announced their plans for the final release for their Mac compiler, expected to be released in the Fall. Being mid-October, I figured that we must be getting closer. Are things still on schedule for this release in the next....
       Mac (Home) -> Programmer Code All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact