maxim wrote:I
have cygwin installed because of it's very usefull bash shell. But I never examined it far enough to detect that there is a C/C++ environment included. That's nice - I'll gonna take a look.
maxim
Oha,
your C++/C compiler is the (GNU) 'gcc' - compiler. You can even compile OpenGL programs that use your XP /hardware acceleration/ drivers! The best is that native Windows programs perfectly cooperate with Cygwin (Linux) applications. In order to avoid frustration here, this requires some reading of the excellent tutorial documentation.
For example, I have simply defined some aliases to the Paths of native WIN32 applications like xnview, irfanview, acrobat or gimp2 under Cygwin. Then I can call these programs simply by name from my zsh (bash).
Similarly, my native WIN32 'texconvert.exe' may either be run from a familiar DOS prompt or --much better-- within a bash or zsh of Cygwin. This allows to use my fast WIN32 'texconvert' in 'intelligent' shell scripts for VT tile mass production, for example. That's precisely what I do since > 1year, when I generate some new tiles...
With a /correctly installed/ Cygwin system, all it takes to compile the DevIL libraries, for example, is to type './configure && make' in the top directory of the DevIL sources. My texconvert sources are compiled by typing simply 'make'.
This can't be toooooooooooo hard;-)
Bye Fridger
PS: Most important is to download & install the rxvt terminal from Cygwin. It emulates a luxurious (white) Linux 'xterm' without needing a running X-server!! So all you got to do is to substitute your startup 'cygwin.bat' script in the Cygwin root directory (/) by:
-------------cygwin.bat---------------------------
Code: Select all
@echo off
set CYGWIN=server
C:
chdir C:\cygwin\bin
REM bash --login -i
rxvt.exe -tn xterm -lsp 2 -fg MidnightBlue -geometry 81x40 -sb -sl 2000 -fn "Lucida Console-16" -title CygLogin -e zsh --login -i
------------------------------------------------------------------
If you prefer 'bash' instead of 'zsh', just replace -e zsh above by -e bash.
Upon double clicking your Cygwin icon on the XP desktop, a neat white '81x40 xterm' terminal with AA fonts (!!) opens and starts your Cygwin session...