[Scummvm-devel] ScummVM 0.10.0 tagged with tools

John Willis John.Willis at Distant-earth.com
Mon Jun 18 09:34:34 CEST 2007


Hi Max,

>For example, I hear rumors that some ports are troubled by our  
>reliance on #pragma pack. Well, we could always opt to get rid of  
>that. It'll be some work, but it's far from impossible (not even  
>particular hard, just annoying). If I knew it would help some ports  
>alot, I'd do it. The same holds for other problems -- as long as  
>people keep silent about their problems, they will have to deal with  
>them alone. Speak up, and you might be helped by the rest of the  
>team ;).

Just to elaborate on this a little bit.

GCC 4 (prior to 4.1.2 I think) on ARM has broken support for #pragma pack
and as such alignment issues. After some investigation and trial/error
Kostas and myself tracked down the offending GCC bug and found/reworked a
suitable patch. As such this is no longer an issue on WinCE/GCC, GP2X or the
GP32 port. 

I also made sure the patch was pushed upstream to DevKitARM (the GCC kit
used by Neil for the DS port if I recall) and as such the DS should also get
correct alignment when #pragma pack is used assuming it uses the most recent
DevKitARM.

As I understand it (I did raise it in IRC at the time) all the other ARM
based ports used GCC 3, 2.95 (Urgg!) or some custom vendor tool-set and as
such would not suffer the problem in the 1st place.

Happy to pop a summery of this on the Wiki (in fairness I guess we should
have anyway) if any other porters think info is of use.

Cheers,

John 





More information about the Scummvm-devel mailing list