Stuart Brorson wrote:
Actually, Cygwin was probably a good idea about 10 years ago.
However, nowadays you can throw Linux on any garden variety PC, so why
bother to fool around with Cygwin?


I have to disagree with that. There are plenty of people for whom the use of windows is mandated and cygwin is a good way to get some useful utilities and have a programming shell. Also many people simply may not have a computer laying around thats not total garbage that they'd care to essentially donate to their employer. And, as hard as it is to believe in this day and age, some of us (myself included) don't own notebooks that can easily be carried to and from work.


With regards to Larrie's question/comment, I could easily believe that gEDA either just works or could work with minor tweaks under cygwin. If you want it to work as a native win32 app (not needing cygwin), you may have to work harder to get, for example guile, to work. I think its really a question of no one has cared enough to step up and send in a set of patches to address whatever minor issues there may be.

BTW, what I did for the native windows version of wcalc is I downloaded all the developer files and run time files for gtk2 for windows, and added the following to my configure.in:


case $host in
        *-*-cygwin* )
                WIN32=yes
CFLAGS="$CFLAGS ${CYGWIN_CFLAGS:--mms-bitfields -mno-cygwin -mwindows}" CPPFLAGS="$CPPFLAGS ${CYGWIN_CPPFLAGS:--mms-bitfields -mno-cygwin -mwindows}"
                ;;

        *-*-mingw* )
                WIN32=yes
                CFLAGS="$CFLAGS ${MINGW_CFLAGS:--mms-bitfields -mwindows}"
CPPFLAGS="$CPPFLAGS ${MINGW_CPPFLAGS:--mms-bitfields -mwindows}"
                ;;

        * )
                WIN32=no
esac

After that everything pretty much just worked.


-Dan

Reply via email to