This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.
Posted: Sat Jun 18, 2005 9:26 pm
I have spent quite a few hours last night and today trying to get this to compile into a binary. perlcc claims it compiles on a linux system with only a warning but then segfaults when i try to run it. I can generate a c file with perl -MO=C but that fails compile wtih several thousand warnings and several hundred errors. -MO=CC won't even try to generate the C file. I find it odd that it is so hard to compile. Perhaps I am just ignorant and have looked over some settings? Am I missing something? It runs fine when it is executing via the perl interpreter. (Note: I haven't tried to assemble anything though! )I can run it on my windows xp 64 bit station as well and it is also able to generate a C file with the -MO=C option. I was curious if you have ever tried to create a standalone executable from the code? It would be nice to be able to distribute a windows standalone exe along with the code so that people could run it without installing Perl as I think most S12 developers are Wintel based. I am pretty sure Perl has been standard on all the POSIX boxes for quite some time now so it is not really necessary to make up a linux binary or what not.
Posted: Sun Jun 19, 2005 2:37 pm
Posted: Sun Jun 19, 2005 2:51 pm
Wow I need to take a look at that - that is odd though I must admit I never tested it. I went to bed as I finished that up.
Edit - works for me now try it again if you could (also I use winrar but shouldnt make a difference if the files matched)
Message Edited by RChapman on 01-26-2006 12:00 PM
Message Edited by RChapman on 01-26-2006 12:02 PM