> On Sun, 2008-02-03 at 10:39 -0800, eehouse.org wrote: > > I'm the primary developer of xwords (xwords.sf.net), a game that I > > recall Danny brought up using cegcc a year or so back. I'm looking > > now at moving from the pocketpc-sdk (a Debian package) to cegcc for my > > next release. I can build and link, but when I put the .exe on a PPC > > device it won't run it. This same device runs the same code built > > with the older tools and libs just fine. > > > I'm hoping Danny or somebody else has the diffs that were required to > > get going before. > > They were only or mostly Makefile tweaks. > > Surprisingly, this used to work, and now indeed it doesn't.
It works now. The bug was many years old and had been tested on a dozen platforms but the combination of new compiler and ARM found it, I guess. Something like this: short foo; char buf[4]; [...] *(unsigned long*)&buf[0] = 0L; If I'd hit this bug on a desktop gdb would have pointed me right at it, but I had to printf my way to it on PPC. Just my luck. There's at least one feature broken by the new tools, but it's probably something like the above: my code is old and originally written for a very slow 68K processor. I'm sure all will be working soon. Thanks, --Eric -- ****************************************************************************** * From the desktop of: Eric House, [EMAIL PROTECTED] * * Crosswords with Bluetooth on PalmOS now in beta: xwords.sourceforge.net * ****************************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel