From: Vincent Torri <vtorri@un...> - 2007-05-12 10:59:56
I'm trying to use directshow in order to blit a buffer onto a surface.
the code is here :
I compile it with
g++ -g -Wall -o ddraw.exe ddraw.cpp -lddraw
When I launch it with MSYS, It takes ages to display the first printf
When I launch it with the explorer, they are displayed immediatly
I would say that it's a problem with MSYS.
Actually, it's the same for all the apps launch from MSYS. For example,
the compilation of programs are *really* slow. I can compare the speed of
the compilation of the same lib with MSYS or on linux. Some seconds on
linux, some minutes with MSYS.
I've already seen some posts on that ML about that, but no real
explanations was proposed.
Does someone know what the problem could be ?
From: Vincent Torri <vtorri@un...> - 2007-05-12 11:52:00
On Sat, 12 May 2007, Tim Stahlhut wrote:
> Vincent Torri wrote:
> Have you tried using the option " --norxvt" to lanching the MSYS bat
> file. example msys.bat --norxvt
> Tim S
I've just tried. I get a console with black background instead of yellow
and, indeed the program is now quite faster
nevertheless, autotools and compilation are slow.
From: Keith Marshall <keithmarshall@us...> - 2007-05-12 13:44:20
Vincent Torri wrote, quoting Tim Stahlhut:
> > Have you tried using the option " --norxvt" to lanching the MSYS
> > bat file. example msys.bat --norxvt
> I've just tried. I get a console with black background instead of
You get a Win32 console, with whatever attributes you've configured for
it. By default, that's white text on a black background, at 80 columns
by 25 rows. Search the archives for detailed instructions I posted a
couple of months ago, on making it a bit more user friendly.
> and, indeed the program is now quite faster
> nevertheless, autotools and compilation are slow.
Bash reading scripts on Woe32 is *horrendously* slow. Configure scripts
tend to be rather large, and they execute orders of magnitude more
quickly on Linux, than they ever will on Woe32. The same is probably
true of the bloated makefiles you get, if you use automake.
There was a patch proposed recently, to improve the efficiency of bash's
reading of its command stream, and that should be in MSYS-1.0.11, when
it is formally released. IIRC, it did result in some improvement in
performance, but it wasn't spectacular. If you must use Woe32, then you
just have to live with its sloth; if you want the speed, and stability
of Linux, then use Linux, and cross compile for Woe32.