[947] in RedHat Linux List

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

Re: Compiling with Redhat 4.0

daemon@ATHENA.MIT.EDU (Otto Hammersmith)
Fri Oct 25 14:26:42 1996

From: Otto Hammersmith <ohammers@cu-online.com>
To: redhat-list@redhat.com
Date: Fri, 25 Oct 1996 12:28:06 -0500 (CDT)
In-Reply-To: <961025163222_74757.2544_EHL100-1@CompuServe.COM> from "Levy Lazarre" at Oct 25, 96 12:32:22 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Make sure the a.out compatability stuff for Red Hat is installed.

Make sure your kernel has a.out compiled in.

Should work just fine.  Since you haven't given any error messages
there is no way to tell what the problem is...

Levy Lazarre wrote:
> 
> 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
> 
> 


-- 
					-Otto


--
  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