site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=R7lBE7pKzltCPzBQbljEhvndVbI2XLTk+qv7SP6p2GutT98urcKOS3cI5CJobXepa4zcCwJzmn32xuFJmMWcCBsJFwaHwibsXIaq6Nr0qr4kH9yh+U6NR81NUQlU507838o/l4PJICgryzCPDRewp8tu14SnJ8a9yYi/2oHC74s=; Hi all, Thanks for the quick and many responses. I did try debugging the problem through gdb (following the debugging techniques posted at the apple website), and found that it was indeed crashing on the first STL statement executed from a dynamic library. The crash log didn't help much as far as I could discern. The original crash was at a gettimeofday_wrapper symbol. However, I couldn't locate the function in any of my code (though admitted I just realized I didn't look at the symbol tables in any of the dynamic libraries). Other crashes happened at no-name addresses. I figured the exception handling was a far fetched idea, but I haven't explored the xerces code too much to see all it's ins and outs and wanted to throw out the idea to see if the symptoms matched. I also realize my original email didn't contain to many specifics and for that I do apologize. I didn't want to scare folks away with a huge email. I have a lot of my investigation at work, including a very short program, gdb logs, crash logs, etc. I'll include important sections of these in a posting as soon as I get back to work on wednesday, for those still interested in this problem. I really appreciate all the help and advice. Thanks. -joe --- Eric Albert <ejalbert@apple.com> wrote:
On Dec 29, 2006, at 1:01 PM, Shawn Erickson wrote:
On Dec 29, 2006, at 12:44 PM, Joe Miller wrote:
Hi All,
I'm not a exactly sure where a good place to post this problem is, but I need to start somewhere. As you read the problem below if you know of more appropriate places to seek advice please let me know.
Here's my issue. I'm trying to port a system of programs to work on the intel mac, unfortunately a number of them are crashing. ... I built the program on OSX 10.2.8 using g++ 3.1. ... I found that I do NOT have a problem using g++ 4.0 on OSX 10.4. But for now I've been tasked to getting this working with the earlier version.
Apple only supports building for Intel Macs using gcc 4.0.
That's for Intel binaries. PowerPC binaries running in Rosetta can be built with any version of gcc or CodeWarrior which can build binaries for Mac OS X.
Joe, I'd expect this to work. If it doesn't work, I'd suggest debugging it using the instructions from the Rosetta appendix of the Universal Binary Programming Guidelines, which you can find on developer.apple.com.
-Eric
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com