Re: Just what makes an architecture "C Friendly"?



On 2006-06-04, fox@xxxxxxxxxxxxxxxxxxx <fox@xxxxxxxxxxxxxxxxxxx> wrote:

But "C friendly" means several things. When GCC says this,
I'm pretty sure it means "friendly environment in which to
implement a GCC compiler". So you've got several meanings
here:

Yes. I think the GCC definition for C practice is expressed
by a growing number of people. I do think it is a stretch for
embedded use,

Why? I've used GCC for a number of embedded targets ranging
from the low end of the 6811 up through the MSP430 and H8/300
to the ARM. GCC works perfectly fine for embedded use, and is
far better than some commercial cross-compilers I've used.

but it is becoming an option more often to take the library
and file system and OS from development platform to the embedded
target with the minimal effort.

What do the library and file system have to do with it?

And even if you are just generating a small bit of embedded code
for that environment by running Linux and GCC quite happily on a
PC you probably were not thinking of running GCC out of a dozen
words of target ROM.

No more than you would be thinking of using any other compiler.

I was just pointing out that some C compiler users want to
stick to architectures, even for embedded systems, that are C
compiler hosting friendly, not just C comiler target friendly.

I've never run across anybody like that.

--
Grant Edwards grante Yow! I'm EMOTIONAL
at now because I have
visi.com MERCHANDISING CLOUT!!
.



Relevant Pages

  • Re: Whats the story with the "end of XP"?
    ... Support gives them access to the larger body ... The same compiler suite may be "best" in both ... In the case of ByteCraft compilers, you are truly expert in your field, you work closely and rapidly with customers if there are any issues, and you have top class testing and quality control. ... understanding the inner workings of a relatively simple compiler like GCC ...
    (comp.arch.embedded)
  • Re: Compiler advice?
    ... > Please help me choose a compiler and environment for commercial ... I suspect gcc might give you the least pain for cross-platform development. ... Of course gcc is not an IDE; there are, however, IDEs with which it will ... via autoconf/automake) as a development environment. ...
    (comp.lang.cpp)
  • [RFC][PATCH-2.6] Clean up and merge compiler-*.h
    ... the kernel headers in include/linux to include/linux-abi. ... * Common definitions for all gcc versions go here. ... -/* Some compiler specific definitions are overwritten here ...
    (Linux-Kernel)
  • Re: LPC900/80C51 Compiler Toolchain
    ... >> supported by GCC, and so they invest. ... > if they already have their in-house compiler. ... one of the main companies in the Symbian consortium ... vendor to provide a good compiler for Atmel AVRs and eventually became ...
    (comp.arch.embedded)
  • Lib X11 compile problem /Xlib.h:3573: error: syntax error before "_X_SENTINEL"
    ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
    (comp.os.linux.x)