[932] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Compiling with Redhat 4.0

daemon@ATHENA.MIT.EDU (Levy Lazarre)
Fri Oct 25 13:23:47 1996

Date: 25 Oct 96 12:32:22 EDT
From: Levy Lazarre <74757.2544@CompuServe.COM>
To: redhat-list <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hi,
I have a question for the gcc experts in this forum.
I am in a situation where I must compile a program using
some static libraries provided as .a files. My problem 
is that these libraries are in a.out format while my 
compiler is ELF(gcc-2.7). Consequently, the linker
refuses to use those libraries and I get a lot of undefined
references. I have read the gcc how-to but I couldn't find
a reference to my problem.
My questions are:
1)Is there a way to force the linker to use a.out libs? (Hopeful thinking!)
2) Should I drop back to an old version of gcc or binutils?
   If so, which version, where do I get it?
 
Obviously, the source code for the libraries are not available to me.
Thanks in advance for any suggestions.
Levy
            74757.2544@compuserve.com
         or  lazarre@scooby.lklnd.usf.edu  


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post