I was really confused about all those elf2flt versions around the web...
Each project develop it's own patch, making the things a little confusing,
since there's nothing like an "official elf2flt project". Honestly, I was
trying to get all the latest versions of those cross-compiling tools to work
together, so, yours elf2flt version seemed to be the newest one. I'll give a
try with the uClinux's one: thanks the advice
Dave Murphy wrote:
> O.S. Team (CIn - UFPE) wrote:
> > I think I'm posting the message in the wrong list, as I'm not a "real"
> > devkitpro-arm user. In fact, I'm using the devkitpro project's elf2flt
> > version to generate bFLT binary files to a SPARC platform. But I fell
> > into a strange error when trying to link something using the -elft2flt
> > directive:
> I haven't looked at elf2flt in quite a while being honest. I was
> orginally trying to use it to allow devkitARM to produce binaries for
> dslinux and needed to tweak things quite a bit to get it working on a
> windows system. Since the move to arm-eabi it hasn't been possible to
> use it at all unfortunately.
> > /opt/compilers/leox/gnu/sparc-elf/bin/ld.real:/tmp/flt-u30156:100:
> > parse error
> > The problem seems to be at "KEEP (*(.preinit_array))", but I just
> > couldn't find anything that could lead to a "parse error" in this line
> > or in the ones above. Am I missing something or it's a elf2flt's bug
> > (or ld's, I don't know... =S)
> I don't see anything that looks obviously wrong. The only thing that I
> can think of is to check that the elf2flt files haven't accidentally had
> DOS line endings added - I do have some vague recollection of this being
> an issue somewhere.
> Since you seem to be using a unix like OS you might be better off using
> the elf2flt sources from the uclinux CVS repository. The main reason I
> had the sources hosted was due to the patches I had to make to get it
> running on windows.