2013/10/2 Daniel Goldman <[email protected]>
> Background - I gcc compile a C curses program under ubuntu Linux, using
> ncurses. It works
> great. I also compile the curses program under DOS / xp, using pdcurses
> included with
> mingw. The DOS version works fine in production mode. But there are some
> problems: 1) in
> test mode some printf options (long long, long double) do not work with
> mingw on my xp
> computer, 2) mingw seems old, I would like to explore mingw-64, but curses
> seems not
> included with mingw-64, 3) it would seem better to use same curses version
> under DOS and
> Unix, 4) I would prefer to cross-compile the DOS executable under Linux,
> as it would be
> easier for me to automate and keep consistent under Linux.
>
> So my questions: Can anyone point me in right direction to set up mingw-64
> so I can
> compile a C curses program under mingw-64, either directly compile under
> DOS, or
> preferably cross-compile on ubuntu linux to generate DOS executable? Any
> suggestion
> whether to use ncurses or pdcurses under mingw-64?
>
>
Ncurses build fine under Windows using mingw-w64 compiler. You can build
nurses-5.9 version but it can be only builded as static libraries or get
develop version of ncurses from here:
http://invisible-island.net/datafiles/current/ncurses.tar.gz
Develop version can be builded as shared libraries.
Configure options you can see here, for example:
https://github.com/Alexpux/mingw-builds/blob/develop/scripts/ncurses.sh#L57
Regards,
Alexey.
I apologize for using ancient curses, but it works well. And I apologize if
> I have missed
> something obvious.
>
> Thanks,
> Daniel
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public