This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [APPROVE?] Fix MIPS and PowerPC with GCC 3.x


Robin Farine wrote:
On Thu, 2003-02-27 at 15:01, Bart Veer wrote:

1) make the C structures completely opaque, i.e. just a packed array
  of the appropriate number of bytes. Of course we now need a way of
[snip]
Maybe an easier solution consists of having a C++ source file like:
[snip]
 and then a simple shell script that creates an instance of the header
file out of the object file resulting from compilation of the C++ file:
[snip]

I don't know however if the output of objdump is consistent between
architectures, but I think so.

That might work too, but I think what I propose might be more robust. But it's a cunning alternative if that can't be used for some reason.


Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]