Thread: unix emulation

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    249
    Rep Power
    12

    unix emulation


    How do I emulate Unix without installing Linux or Cygwin? I need to use gcc, make. Is there free unix host for compiling C programs?

    Thanks
    http://galileo.spaceports.com/~ibidris/
  2. #2
  3. I'm Baaaaaaack!
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Jul 2003
    Location
    Maryland
    Posts
    5,538
    Rep Power
    244
    Obviously you are not developing in in *nix, but are trying to use a program written for it. It ain't likely to work, *nix uses different executable formats and you are very unlikely to get anything compiled in any version of *nix to run in Windows without using something exactly like cygwin. My suggestion: Just install cygwin and do the work there. It is rather painless and works fine.

    My blog, The Fount of Useless Information http://sol-biotech.com/wordpress/
    Free code: http://sol-biotech.com/code/.
    Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
    Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.
    LinkedIn Profile: http://www.linkedin.com/in/keithoxenrider

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    249
    Rep Power
    12
    Installing cygwin worked only for the minimal install. Every time i try to install more packages the installer hangs on the select packages step. Even after uninstalling everything and reinstalling. I checked the log and it said:

    getUrlToStream failed!
    get_url_to_membuf failed!

    I tried different ftp mirrors, but it always hangs!
  6. #4
  7. I'm Baaaaaaack!
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Jul 2003
    Location
    Maryland
    Posts
    5,538
    Rep Power
    244
    Did you post to their mailing list with your problem? I am sure they are interested in what it is.

    My blog, The Fount of Useless Information http://sol-biotech.com/wordpress/
    Free code: http://sol-biotech.com/code/.
    Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
    Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.
    LinkedIn Profile: http://www.linkedin.com/in/keithoxenrider

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    249
    Rep Power
    12
    No, but I will do that now.
  10. #6
  11. Contributing User

    Join Date
    Aug 2003
    Location
    UK
    Posts
    5,117
    Rep Power
    1803
    The MinGW (minimalist GNU for Windows) compiler is a Windows hosted GCC compiler. While it uses the GNU libstdc++, it does not use GNU libc or libm (C runtime), instead it uses the MSVCRT.DLL. However since both libraries are largely ANSI compliant, this should present few difficulties.

    There is a great IDE package (considering that it is free) called Dev-C++ from Bloodshed Software that includes MinGW , but will also work with Cygwin. If you download this package you need not get MinGW separately. MinGW currently implements GCC 3.2.

    www.mingw.org
    http://www.bloodshed.net/devcpp.html

    Dev-C++ is user supported at:
    http://sourceforge.net/forum/forum.php?forum_id=48211


    Clifford
    Last edited by clifford; September 22nd, 2003 at 07:38 AM.

IMN logo majestic logo threadwatch logo seochat tools logo