Re: GDB/Mingw make problem

DJ Delorie
2008-01-14T21:13:13Z

> ?? I'd expect --target=djgpp do that automatically (it's a
> cross-compilation, right?)

It's the difference between a cygwin-x-djgpp cross compiler and a
mingw-x-djgpp cross compiler. If --host is mingw, you're actually
doing a canadian (although configure doesn't realize it, so it's not
the traditional build/host/target canadian), so you need to ensure
that CC is set right.

Otherwise, in the example given, you're trying to build cygwin
programs using mingw headers, or something like that. Subtle bugs
ensue.