Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Build question
@ 2009-08-21  0:24 Danny Backx
  2009-08-21 17:30 ` Tom Tromey
  0 siblings, 1 reply; 19+ messages in thread
From: Danny Backx @ 2009-08-21  0:24 UTC (permalink / raw)
  To: gdb

Advice wanted on how to patch gdb's build.

I have a cross-gdb working between my linux PC and a i386-mingw32ce
target running gdbserver.

My question is about the i386-mingw32ce-gdb build.
The issue I need to solve is that HAVE_DOS_BASED_FILE_SYSTEM doesn't get
defined. I can manipulate the build so things work, but I'd like to make
a clean patch.

HAVE_DOS_BASED_FILE_SYSTEM doesn't get set in my cross-compile, because
gdb gets compiled by the host gcc, which doesn't set _WIN32. So the
HAVE_DOS_BASED_FILE_SYSTEM never gets defined. This happens both in
gdb/* and in libiberty/* .

So where should I change this properly ?

I would like it to come from somewhere in the configuration scripts (and
I'm now asking where would be the best place).

Another thing to edit is then include/filenames.h - it needs to grab
this and do the right thing, instead of just reacting to _WIN32 and
such. But that's a trivial fix.

Thanks,

	Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-09-05  9:33 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-21  0:24 Build question Danny Backx
2009-08-21 17:30 ` Tom Tromey
2009-08-21 17:57   ` Eli Zaretskii
2009-08-21 18:23     ` Danny Backx
2009-08-21 18:51       ` Eli Zaretskii
2009-08-21 20:15         ` Danny Backx
2009-08-21 21:57           ` Eli Zaretskii
2009-08-22  9:03           ` Tom Tromey
2009-08-22  9:55             ` Danny Backx
2009-08-22 11:07               ` Eli Zaretskii
2009-08-24 10:11                 ` Danny Backx
2009-09-01 18:03                   ` Danny Backx
2009-09-01 19:34                     ` Eli Zaretskii
2009-09-01 20:10                       ` Danny Backx
2009-09-02  3:25                         ` Eli Zaretskii
2009-09-05  9:33                           ` Danny Backx
2009-09-01 19:35                     ` Eli Zaretskii
2009-08-22 22:01             ` Daniel Jacobowitz
2009-08-23  7:28               ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox