Re: [hatari-devel] Building Hatari from sources

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


 Hi Christer,

Am Thu, 31 Jan 2013 21:37:11 +0100
schrieb Christer Solskogen <christer.solskogen@xxxxxxxxx>:

> On Thu, Jan 31, 2013 at 6:55 PM, Christer Solskogen
> <christer.solskogen@xxxxxxxxx> wrote:
> > On Thu, Jan 31, 2013 at 6:02 PM, Eero Tamminen <oak@xxxxxxxxxxxxxx>
> > wrote:
> >> Hi,
> >>
> >> On torstai 31 tammikuu 2013, laurent.sallafranque@xxxxxxx wrote:
> >>> That's great.
> >>>
> >>> I've just noticed that I can't open the debugger (Alt-GR + PAUSE).
> >>> (win 7 + win32 exe)
> >>
> >> Any idea whether it's built with readline?
> >>
> >> Without command line completion, debugger isn't
> >> very nice to use...
> >
> > Yes, it is. At least that is what cmake tells me:
> > Found
> > READLINE: /opt/cross-mingw-w64/x86_64-w64-mingw32/lib/libreadline.dll.a
> > And without the libreadline6.dll, hatari won't start up.
> >
> 
> I've tried a couple of variants now, where readline was linked with
> curses instead of termcap. But still no debug console.
> stderr.txt tells me that I have entered debug mode, so the debug mode
> as such works. Is just the console that is whacked.

Three quick comments:

1) IIRC you do not urgently need readline on Windows since the standard
   fgets function already provides basic readline functionality there
   (at least this is what I saw when I built with MinGW a couple of
   years ago)
2) For the debugger, I think you have to run the EXE with the "-D"
   parameter to avoid that the stdio gets written to the files
   (see src/gui-win/opencon.c)
3) I've now also linked your Windows builds page on the Hatari website
   (http://hatari.tuxfamily.org/links.html)

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/