Firstly I'm not sure if this should be part of the thread I started yesterday on assembly and the stack but I think the question I'm asking here is quite different.
I'm been trying to understand what exactly Cygwin is, via Wikipedia and Google, I'm not having much luck. I've just begun assembly programming on Linux using the gcc gas assembler. I'm using a machine at work during lunch that only has Windows on it. I wanted to practice some assembly language programming here so I thought Cygwin might be able to help.
Mistakenly I believed that the code I was writing in Linux could just be compiled and run in Windows using Cygwin. Cygwin allows me to compile the code fine:
as someAssmProg.as -o someAssmProg.o
ld someAssmProg.o -o someAssmProg
But if I try to run the code under Cygwin,
./someAssmProg
I get a "unhandled win32 exception occured" message
Now I am assuming this is because the code I'm writing is intended for Linux. I thought though that Cygwin would deal with this. Is Cygwin just really meant to be used to develop Windows applications in a Unix style command line way?
Again I know this is probably obvious to most folks here but I'm genuinely confused!
P.S I've tried AndLinux before for Windows, but it's quite a hefty install.