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



Steve at fivetrees wrote:

[...]


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.

Huh?

Unless I'm misunderstanding something, we're not talking about the platform
that the C compiler runs on. That's of no interest (to me). We're talking
about the target it compiles for.

As for "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" - if you're talking about embedded PCs,
fine. Again that's of no interest to me, and I don't see how it's relevant
to this thread.


I've been using a 32 bit processor with MMU running Linux as a
fairly deeply embedded processor for years. The source is 100%
compilable with the PC (development system) as a target, and
about 80% functionally portable between the development system
and the actual embedded target. I think that's what he means.

And yes, the development system for the processor was the starting
point. Axis provides a stable starting point, royalty free tools and
Linux and GCC ports.

The target filesystem and minimal user space (mostly BusyBox)
on the embedded target would not be suitable for a PC, and I
don't think that was an argument.

Steve
http://www.fivetrees.com

.



Relevant Pages

  • Re: Just what makes an architecture "C Friendly"?
    ... PC you probably were not thinking of running GCC out of a dozen ... about the target it compiles for. ... I've been using a 32 bit processor with MMU running Linux as a ... about 80% functionally portable between the development system ...
    (comp.arch.embedded)
  • Re: How do you make this Open Source work on Solaris ?
    ... The '-mt' option is not valid for gcc, ... *** Error code 1 ... make: Fatal error: Command failed for target `all-recursive' ...
    (comp.unix.programmer)
  • Re: Coldfire development on Linux host
    ... My preferred development host is a i586 PC running SUSE 10.0. ... The target CPU is a Coldfire MCF5407 or similar running raw ... I downloaded the CodeWarrior Linux Platform Evaluation suite from Freescale ... As for gcc, you can simply download the latest gcc source and compile it for cross development. ...
    (comp.arch.embedded)
  • Re: Why ./configure?
    ... > gcc knows how to create executables, I know that my gcc can do so, only ... > target platform and other conditions, which the author can not anticipate. ... > compile and link the project. ... > system is represented by the target specific libraries, ...
    (comp.os.linux.development.apps)
  • Re: Problem with the System Cloning Tool
    ... I guess I still didn't explain it right :-) I have a development system and a target ... The target system is headless but I can connect to it from my development system ... So I'm looking for a tool like 'newsid' that I can run from a remote ...
    (microsoft.public.windowsxp.embedded)