www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/10/08:03:59

Date: Mon, 10 May 1999 14:02:59 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199905101202.OAA29087@acp3bf.physik.rwth-aachen.de>
To: djgpp AT delorie DOT com
Subject: Re: cross c++
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <Pine DOT SUN DOT 3 DOT 91 DOT 990510130656 DOT 17479A-100000 AT is> you wrote:

> On Mon, 10 May 1999, Erez Doron wrote:

> > I was not able to compile a djgpp cross-compiler (linux2dos)
> > which supports c++,
> > 
> > gcc wants me to supply libgcc1.a by myself
> > (when compiling it)

> What is libgcc1.a, and what error message(s) led you to believe that 
> this is the file you need?  I don't think building a cross-compiler 
> requires such a file.

Let me answer on behalf of the original poster: libgcc1.a is one half
of 'libgcc.a', the runtime support library needed by all gcc
installations. libgcc1.a is the part that contains implementations for
operations on long long integers, and some of the builtin functions,
IIRC.

On platforms where gcc is not the original 'system' C compiler,
libgcc1.a has to be compiled with that sytem compiler, otherwise it
won't work.  For DJGPP, this isn't the case, but there seems to be a
small gotcha in the configuration files that makes the build process
think it is...

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019