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?


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

You should have GNU ld in this case, though, assuming your target is
supported by GNU ld.  Why is collect2 needed *at all*?

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

Yes, djgpp is native.  Amusingly enough, the last djgpp-hosted cross
compiler I built targetted Linux.


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