PART 3: Assembly programming for HCS12X

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PART 3: Assembly programming for HCS12X

2,416 Views
RChapman
Contributor I
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.
 
READ PART 1, 2
 
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? Laughing Am I missing something? It runs fine when it is executing via the perl interpreter. (Note: I haven't tried to assemble anything though! Smile )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    
 
When I'm downloading the file from
http://www.s12x.com/tools/
via
http://www.s12x.com/tools/hsw12_rel00.33.tgz

I get a corrputed archive (at least corrupted for winzip).

This page also refers to
http://home.arcor.de/hotwolf
as source and on this page, the download link
points to
http://home.arcor.de/hotwolf/hsw12_rel00.33.tar.gz

which generates a 404.
However downloading still works with this URL:
http://home.arcor.de/hotwolf/hsw12_rel00.33.tgz

And this archive is actually valid Smile
 
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 Smile 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

Labels (1)
0 Kudos
Reply
0 Replies