This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: libgcc#.a headache


>-----Original Message-----
>From: Alexandre Oliva [mailto:aoliva@redhat.com]
>Sent: 04 January 2001 21:21

>On Jan  4, 2001, "Birchmier, Masaki" 
><Masaki.Birchier@PSS.Boeing.com> wrote:
>
>> I'm building a cross compiler and I need to supply the libgcc1.a
>
>libgcc1.a is to become part of libgcc.a, and it contains the
>implementation of some operations that aren't available in the
>hardware and that GCC doesn't know how to implement by itself.
>libgcc2.a contains those that aren't available in the hardware but for
>which there are standard implementations available, plus any utility
>functions that will eventually become part of libgcc.a.
>
>So, if you're building a cross compiler and GCC says you must provide
>libgcc1.a, then the only way round is to use an existing compiler for
>that platform to create libgcc1.a.

  Since the target system already has a libgcc.a, is it possible that
Masaki could get a list of the functions/modules that are needed for
libgcc1.a, extract those from his existing libgcc, and make a new archive
with them?  At least some of those functions (long long math, for example)
ought to work fine as long as the ABI calling convention in use is
compatible between the two gcc versions.

       DaveK
-- 
The Boulder Pledge: "Under no circumstances will I ever purchase anything 
offered to me as the result of an unsolicited email message. Nor will I 
forward chain letters, petitions, mass mailings, or virus warnings to large 
numbers of others. This is my contribution to the survival of the online
community."


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]