Disabling fixproto: OS-less embedded targets?
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Tue Sep 30 07:23:00 GMT 2003
On Sat, 2003-09-27 at 11:38, Nathanael Nerode wrote:
> Still working on turning off fixproto as much as possible. :-)
>
> The following are, I believe, OS-less targets. I'm guessing it's safe
> to assume that people using these either aren't using a C library,
Hmm, I think the contrary is true. Most users of them probably are using
some sort of "arbitrary libc". For "bare"-CPUs, this in most case
probably will be some sort of "minimal libc", eg. newlib or a
CPU/board-vendor supplied libc.
> or are using a C89-compliant library,
Hmm, this sounds overly simplistic to me. You should be aware that
embedded GCCs in most cases will be cross-toolchains:
* People often regard "gcc" as secondary toolchain to vendor toolchains
and will be trying to use the vendor toolchain's libc.
* Another kind of situation when people start using gcc for embedded
systems is a vendor not providing toolchains for a user's host
environment (Many vendors don't provide cross-toolchains for non-M$
systems).
As vendor cross-toolchain target libc are host independent, people will
be trying to use these vendor libcs with gcc.
As gcc has no control about these vendor libcs, any assumption on C89
compliance would be a "wild guess".
> or can fend for themselves.
Are you trying to say that you are wanting to give up the amount
generality fixproto has tried to provide?
> Is this reasonable? (These are all -elf, -coff, or -aout targets.)
I don't think so.
Ralf
More information about the Gcc
mailing list