6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Sep 29, 2024 6:28 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Jan 11, 2014 12:22 am 
Offline

Joined: Tue Jan 07, 2014 8:40 am
Posts: 91
barrym95838 wrote:
I plugged the phrase Small-C should target 68hc11 into my evil search engine, and this was the first link.


I knew I had seen that somewhere recently. At http://newmicros.com/download/software/NMI/, the file NMIY0020.ZIP contains the support files for their NMIY-0020 board, including a 68HC11 Small C cross-compiler. For MS-DOS, I believe.

Edited to add: whoops, I missed that 'legacy' is looking for source code for the compiler. That zip only contains an executable.

_________________
Because there are never enough Forth implementations: http://www.camelforth.com


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 16, 2014 4:49 am 
Offline

Joined: Wed Feb 05, 2014 7:02 pm
Posts: 158
barrym95838 wrote:
legacy wrote:
... unfortunately i do not like gcc at all.

I'm sorry if the question offends you, but could you tell us why?

I can think of two reasons:

1. Exceptionally difficult to port to new architectures, and is too complicated.
2. The compiler proper relies on its own extensions (though an already-existing ANSI C compiler can compile an intermediate version which can compile the remaining portions).


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 16, 2014 7:31 pm 
Offline

Joined: Fri Nov 26, 2010 6:03 pm
Posts: 46
Location: NSW, Australia
legacy wrote:
Also, gcc-11 is very bloated about the asm code it generates from C
I've had a bit of (dated) gcc-11 experience-- of course it's 32bit nature will look bad if you compare it to 16bit compilers. One of the biggest mistakes by newbs is inappropriately using 32-bit signed ints everywhere. The first experiences in embedded programming is getting your casts right. (The second is not linking in whole of libc..)

When I did the unsigned char magic on my 68hc11 robot code, the resulting object output actually looked rather nice. (And the optimizer in gcc was great for feedback to improve the code..)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: