[U-Boot-Users] How to compile U-boot using Metrowerks Code warrior on windows.

VanBaren, Gerald
2004-10-05T12:32:58Z

> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of
> Prathima_Kolar
> Sent: Tuesday, October 05, 2004 2:15 AM
> To: 'u-boot-users at lists.sourceforge.net'
> Cc: Apoorv_Sangal; Nishant_Galange
> Subject: [U-Boot-Users] How to compile U-boot using Metrowerks Code
> warrior on windows.
>
>
> Hi all,
>
> A little bird told me that the u-boot image created by Metrowerks
> Codewarrior on windows is a lot smaller than the image
> created by the gcc
> tool chain.
>
> I need to verify the accuracy of that statement. So I
> installed Codewarrior
> on my (ugh) windows partition, but how do I tell Codewarrior
> to compile my
> u-boot source tree? The "Makefile Importer Wizard" gives a vague error
> saying "no target found for Metrowerks EPPC" (or something
> like that) when I
> point it to the Makefile I got with u-boot.
>
> I'm completely new to Codewarrior, and reading the docs
> didn't help at all.
> Can somebody please help me out here?
>
> Waiting,
> Prathima
>
> Ps. I'm using Codewarrior IDE ver. 5.5.1.1358

How much smaller did the little bird estimate? Unless you are at 101% of your available memory and have no more u-boot commands that you can disable, making u-boot smaller has no benefit. Jerry's Rule: Any memory that is not used by the program is wasted.

This little bird says that disabling unnecessary commands is likely to save you more memory than changing compilers and it is much less painful.

Building u-boot under Windows is swimming upstream through the rapids. Besides the obvious extra effort it takes, there are a lot of rocks in there. Building under Windows and simultaneously switching to an unfamiliar compiler is trying to swim/jump up a waterfall. I've seen salmon do it, but it is a huge effort and many of them never make it.

Bottom line: Tell the little bird to verify the accuracy of his statement on his own (politely, of course, if he is your PHB).

gvb

******************************************
The following messages are brought to you by the Lawyers' League of IdioSpeak:

******************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
******************************************