Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 1997 21:36:48 +0100 (MET)
From:      Andrzej Bialecki <abial@korin.warman.org.pl>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Converting foreign object files
Message-ID:  <Pine.NEB.3.95.970306212611.1649B-100000@korin.warman.org.pl>

next in thread | raw e-mail | index | archive | help
Hello!

I have the following problem:
I bought certain commercial product (client-server suite with libraries
and API), and the company included libraries for BSDI and Linux. Now, I'd
like to use them somehow on FBSD. Obviously , I don't have the sources.

When I try to use BSDI version of the library, gcc doesn't see all of the
exported names - even after repacking the library with ``ar''.
With Linux version it's even worse - ``ar'' is unable even to unpack it.

So, here is my question: is it possible at all to somehow "convert" these
objects to the format FBSD uses? ``file'' says something like:

- Linux ver - I can't unpack the libs:
libxxx.a: current ar archive

- BSDI ver - unpacked object files:
xxxx.o: Linux/i386 object file

Thanks for any sugestions.

Andy

+-------------------------------------------------------------------------+
Andrzej Bialecki <abial@warman.org.pl>    _)    _)   _)_)   _)_)_) _)  _)
---------------------------------------   _)_)  _) _)    _) _)_)   _)_)
Research and Academic Network in Poland   _)  _)_) _)_)_)_)     _) _) _)
Bartycka 18, 00-716 Warsaw, Poland        _)    _) _)    _) _)_)_) _)  _)
+-------------------------------------------------------------------------+





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970306212611.1649B-100000>