Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.dsp > #7139

g21k and ar

From Alessandro Basili <alessandro.basili@cern.ch>
Newsgroups comp.dsp
Subject g21k and ar
Date 2011-11-24 09:18 +0100
Message-ID <9j6cvfFt5lU1@mid.individual.net> (permalink)

Show all headers | View raw


Hi all,
after some work I managed to compile g21k (a gcc port for ADSP21k
architecture) and I used it to cross-compile the whole ADI C-runtime
library (ref. <news:9gj66aFvuvU1@mid.individual.net>)

So now I have the following pieces:

- g21k     (compiler)
- asm21k   (assembler)
- ld21k    (linker)
- mem21k   (memory initializer)
- cdump21k (a coff dump utility)

After I compiled the C-runtime library I naively thought to use ar to
make an archive - that I called libc.a - but unfortunately when I link
against it from my application, it looks like the linker does not find a
symbol directory and I get the following errors:

> Archive symbol directory is missing from archive /usr/local/21k/lib/libc.a
> Archive symbol directory in archive /usr/local/21k/lib/libc.a is too large
> Can't read archive symbol directory of archive /usr/local/21k/lib/libc.a

It looks like the archiver failed to create a symbol directory (indeed
nm does not recognize the object format, since i believe the coff
produced by the linker is not supported by gnu binutils).

It is somehow frustrating since I'm only missing a very small part of
the whole and it will be a shame, after so much effort, to give up.
Unfortunately the author of the port seems does not reply to emails,
while the mailing list seems somehow defunct. Alternative efforts to
find people who previously worked with this tool have not been fruitful
(understandable to some extent, since we are talking about a 20 y.o. tool!).

If anyone out there has any solution/suggestion/advice I would really
appreciate.

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Back to comp.dsp | Previous | NextNext in thread | Find similar | Unroll thread


Thread

g21k and ar Alessandro Basili <alessandro.basili@cern.ch> - 2011-11-24 09:18 +0100
  Re: g21k and ar - COFF DSP21K filetype Alessandro Basili <alessandro.basili@cern.ch> - 2011-11-24 13:40 +0100
    Re: g21k and ar - COFF DSP21K filetype Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2011-11-24 15:54 +0200
      Re: g21k and ar - COFF DSP21K filetype Alessandro Basili <alessandro.basili@cern.ch> - 2011-11-24 15:41 +0100
        Re: g21k and ar - COFF DSP21K filetype Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2011-11-24 21:02 +0200
          Re: g21k and ar - COFF DSP21K filetype Alessandro Basili <alessandro.basili@cern.ch> - 2011-11-25 09:48 +0100

csiph-web