In an earlier posting to comp.os.linux.misc (which has expired on my
server but which Alta Vista found for me), Marco Masotti
[tale of a.out-related woe]Quote:> I'm trying to link against a static library for sybase support (from
> sybase.tgz, devlib.tgz at http://www.sybase.com)
It *seems* the solution should be something like:Quote:> Can anyone please help how to link this kind of files, or should I
> consider it definetely corrupt?
<cd where Sybase a.out-flavored libraries are>
mkdir aout
mv *.a aout
for i in aout/*.a
do
objcopy --output-target=elf32-i386 --remove-leading-char $i
`basename $i`
done
EXCEPT... then the symbols seem to be found properly, but the linker
croaks before it's done:
gcc: Internal compiler error: program ld got fatal signal 6
There was a previous posting to comp.os.linux.development.apps by
to treat a similar problem; in that case a.out libraries seemed to be
involved in the problem's history as well. Is there some kind of BFD
translation bug or some linker fragility in the face of a whiff of
a.out-ness? Color me baffled, so far.
(I realize that Sybase client libraries for Linux are supplied as an
unsupported favor to the community, but wouldn't it be swell if they'd
re-release 'em in ELF form?)