This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFC] Simplify MinGW canadian crosses


On Tue, Aug 29, 2006 at 10:59:27AM -0400, DJ Delorie wrote:
> 
> > If you want to build some code that runs on mingw, I don't think
> > that having mingw tools installed is an unreasonable requirement.
> 
> This is how you *get* mingw tools installed.  The same logic that
> gives you a canadian (worst case) also gives you host-x-host.

Not so, unless I'm vastly confused.

Corinna is trying to generate --host=i686-mingw32 tools, with a
different --target.  This requires at least a --target=i686-mingw32
compiler coming from elsewhere.  That compiler can build the
--host=i686-mingw32 libraries, and usually should.

This is more like adding support for using the in tree newlib with an
arm-linux compiler so that you could build GCC to run on arm-linux,
without having to install an arm-linux C library first.  That's why
I'm dubious about the value.  But maybe Corinna has some good example
of when you want to do this?

-- 
Daniel Jacobowitz
CodeSourcery


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