This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Building collect2 for C?


On 16 Mar 2004 at 17:01, DJ Delorie wrote:

> 
> > And for any other target that uses GNU ld as well.  So what?  That's still
> > only a subset of the targets which need collect2 functionality.  Do you plan
> > to require those platforms to use GNU ld instead of their system linker?
> 
> No, just wondering why my djgpp build builds collect2.exe.  Or why a
> collect2 issue affects MinGW.
> 

Because I'm building a cross-compiler:
--host=mingw32
--build=mingw32 
and target != host

and then collect2 is trying to be built and it dies because of POSIX calls such 
as fork(), pipe(), et al., which of course is unavailable on Windows, so the 
build dies.

Apparently, from what I've read, is that it builds fine when configuring for a 
*native* compiler (mingw32), though that's not what I'm trying to do.

It does make me wonder why it works for DJGPP, though I wonder if that it works 
because you're building a native compiler, not a cross.

Eric


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