This is the mail archive of the gdb@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: GDB/Mingw make problem


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


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