On 30.09.2013 05:22, Daniel Goldman wrote:
> Background - There is a C language curses program I gcc compile under Linux, 
> using 
> ncurses. It works great. I also compile the curses program under DOS, 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 cannot 
> find curses 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 application 
> under Linux, it 
> would be easier for me to automate and keep consistent under Linux.
> 
> So my questions: Can anyone direct me to resources or outline how to set up 
> mingw-64 so I 
> can compile a C curses program under mingw-64, either directly compile under 
> DOS, or 
> cross-compile on linux to generate a DOS executable? If I set up curses under 
> mingw-64, 
> any suggestion whether to use ncurses or pdcurses?

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

-- 
O< ascii ribbon - stop html email! - www.asciiribbon.org

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

Reply via email to