Thread: Cygwin 'packages'

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    23

    Question Cygwin 'packages'

    Okay, somebody help me with this quick, I'm gonna use Cygwin, but... What 'packages' do I absolutely need to compile these files? I don't want to bother downloading, installing, and taking the risk of messing up my computer with any packages I don't need. If you could, go to http://www.cygwin.com and download the setup.exe file (click on "Install Now!"), its a very small file that doesnt actually install anything, but it lists all the packages and what each thing does.

    Thanks!

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Yes downloading from Cygwin's site is insane. There are a lot of libraries you don't need. There are some debug tools you don't need (you will want them someday). Just get the compiler. Are you porting from a UNIX platform? If not you should get Mingw. It is also free and it is a win32 compiler, not a UNIX compiler with a win32 wrapper.

  3. #3
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    I could not find a .zip of the mingw compile, only .tgz, so I just installed Dev-C++ copied all the mingw stuff and deleted dev-c++ works perfect.

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    23
    I am on Win95. I have Dev C++, but it doesn't work when I try to compile, I get all the same errors I get with other compilers. Where to I get Mingw? I'll do a search on it a while. When I get it, I'll try it and see if it works, and let ya know whether it does or not.

    Thanks!

  5. #5
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    What errors are those? Maybe it is your code.

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    23
    I'm compiling a MUD. There's nothing wrong with the code, it's just the compilers can't handle it and find all sorts of errors, which is why I have seen that Windows users should get Cygwin to use to compile MUD's. I found Mingw's site, and went from there to the GNU site, and went to download, ended up at a mirror with the address ftp://mirrors.kernel.org/gnu/gcc/gcc-3.1.1/ but there are a lot of files, wondering if anyone knows which one I need? otherwise I'll just download the main one, it being 25 MB, which will take forever on my computer, but it'll be worth it.


    As I mentioned, I DO have Dev C++, what files do I need to save for Mingw, and if I were to use it that way, how would I compile?

  7. #7
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    I just copied the bin, Lib, and Inlude directories. To compile you go to command line and type gcc -c filename.c then gcc -o filename filename.o

  8. #8
    Registered User
    Join Date
    Sep 2001
    Posts
    23
    I have multiple files, somewhere around 30 that I need to compile into one program.

  9. #9
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Since Dev-C++ uses mingw you can overwrite everything. All you need to keep is devcpp.exe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. cygwin sshd weird behavior
    By jEssYcAt in forum Tech Board
    Replies: 6
    Last Post: 05-19-2008, 02:05 PM
  2. MATLAB user trying to use gcc in cygwin (with BLAS and LAPACK)
    By greek_tragedy in forum C Programming
    Replies: 0
    Last Post: 07-23-2007, 02:29 PM
  3. Problems with compiling code in cygwin
    By firyace in forum C++ Programming
    Replies: 4
    Last Post: 06-01-2007, 08:16 AM
  4. Cygwin Server
    By osal in forum Networking/Device Communication
    Replies: 0
    Last Post: 03-07-2005, 12:58 PM
  5. Replies: 5
    Last Post: 09-08-2001, 09:18 AM