On Tue, Mar 28, 2006 at 09:01:14PM +0100, Chris Young wrote: > Hello all > > I'm attempting to port ArcEm to AmigaOS 4 (PPC).
Very cool. > I've created an > amiga directory with all of the various platform-specific source files > required, hacked together so they compile (but don't necessarily work > correctly yet). > I'm just checking, make sure you are working on the version from CVS rather than the 1.00 sourcecode. This should make porting easier as there's about 5 less functions that you have to have in your code. > I'm really not an low-level person, so most of this emulation stuff is > lost on me. The makefile runs through and compiles everything ok, but > at the linking stage I get lots of errors relating to "__reent_magic" > > For example: > > dagstandalone.o(.text+0x22): In function `dagstandalone_handlesignal': > : undefined reference to `__reent_magic' > > What is __reent_magic and how do I fix it? I can't find anything > remotely like this in the source code. > You're right, it doesn't seem to be in our code, my guess is it's related to the libraries you're linking against or something specific to the Amiga gcc. Can you compile up other programs with your version of gcc? > I get other linking errors too, but we'll come to those later along > with other questions about how the emulator works so I can do the > platform specific stuff properly. > Ask away and I'll do my best to answer them. There might be a few more changes coming to the code related to platform porting (with the intention of reducing the amount of duplicate code in each platform even more). Watch the list for announcements about that sort of thing. > I'm using gcc 3.4.4 in case that makes a difference. > It shouldn't do. Peter -- Peter Howkins [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel