C, Cygwin, and compiling drand and srand

Posted by Kaytiana on Stack Overflow See other posts from Stack Overflow or by Kaytiana
Published on 2010-05-03T15:52:06Z Indexed on 2010/05/03 15:58 UTC
Read the original article Hit count: 325

Filed under:
|
|

Hello,

I have a C code which I am trying to compile in Cygwin and which contains both the drand() and srand() functions. I had Windows Vista with Cygwin installed and the code seemed to comile fine, but my computer broke and I had to get a new one. The new computer has Windows 7 64-bit version. I had a few issues downloading Cygwin but finally managed to do it by only selecting a few packages and then have been trying to get the rest that I need. The problem is I don't have the help I had installing it on my other computer so I don't know which packages I actually need, so I have just been guessing (all the gcc ones) but I mustn't have the one I need for srand and drand to work. If anyone could point me in the right direction, and also possibly just let me know which packages I need to compile C so I can check I have them all that would be great.

Thanks a lot in advance for any help.

Sorry, that was a lot of words!

Kaytiana

© Stack Overflow or respective owner

Related posts about c

    Related posts about cygwin