what different between Version 5 and Version 6 of Codewarrior for

what different between Version 5 and Version 6 of Codewarrior for

Post by d » Fri, 01 Feb 2002 21:55:16



What different between Ver5 and Ver 6 of Codewarrior for PowerPC

I are working with Metrowerks Codewarrior for Embedded PowerPC. But
when I changed my project from Version 5 to Version 6, some errors
happened.

We designed that project with uC/OS II, and run about more than 10
threads. Some time when the program swith between the processes, it
will cause program crash. We founded problem is the library function
such as memset() and free() will access wrong address. I think the
reason is interrupt happened when those functions happen.

But our program can work properly with Version 5, so I don't know
where the problem happen.

We found the compiler have little different, such as Ver 6 will push
more bytes to stack when call a function. Who can tell me what other
different of these two compiler?

Thanks.

                 Wang

 
 
 

what different between Version 5 and Version 6 of Codewarrior for

Post by Han Lo » Wed, 13 Feb 2002 06:54:21


Wang,

Are you compiling uC/OS II with Codewarrior or are you just using CW to
build an S record?

The source code for memset() and free() should be in MSL directory on your
installation if you want to take a look...

If you can get a reproducible case together for your memset/free compilation

Regards,

    Han


Quote:> What different between Ver5 and Ver 6 of Codewarrior for PowerPC

> I are working with Metrowerks Codewarrior for Embedded PowerPC. But
> when I changed my project from Version 5 to Version 6, some errors
> happened.

> We designed that project with uC/OS II, and run about more than 10
> threads. Some time when the program swith between the processes, it
> will cause program crash. We founded problem is the library function
> such as memset() and free() will access wrong address. I think the
> reason is interrupt happened when those functions happen.

> But our program can work properly with Version 5, so I don't know
> where the problem happen.

> We found the compiler have little different, such as Ver 6 will push
> more bytes to stack when call a function. Who can tell me what other
> different of these two compiler?

> Thanks.

>                  Wang


 
 
 

1. what different between Version 5 and Version 6 of Codewarrior for PowerPC?

What different between Ver5 and Ver 6 of Codewarrior for PowerPC

I are working with Metrowerks Codewarrior for Embedded PowerPC. But
when I changed my project from Version 5 to Version 6, some errors
happened.

We designed that project with uC/OS II, and run about more than 10
threads. Some time when the program swith between the processes, it
will cause program crash. We founded problem is the library function
such as memset() and free() will access wrong address. I think the
reason is interrupt happened when those functions happen.

But our program can work properly with Version 5, so I don't know
where the problem happen.

We found the compiler have little different, such as Ver 6 will push
more bytes to stack when call a function. Who can tell me what other
different of these two compiler?

Thanks.

                 Wang

2. Email Archive

3. VOODOO Server Version Control - Mac OS X Version Available!

4. PCI problem (?) on a Gateway P75 : ATI Mach 64, ATAPI CD-ROM

5. Code warrior for Palm, Full Version vs Academic Full Version

6. 688(I) Hunter/killer

7. CW on different mac OS versions

8. Difference between regular version of CW and the Palm version?

9. Why is my full version of Code warrior say it is a DEMO VERSION

10. Project from Version 6 to Version 7: Compiler Error

11. Can't debug with old versions of CodeWarrior

12. Old Versions of CodeWARRIOR