Thread: cygwin1.dll not found

  1. #1
    Young C n00b
    Join Date
    Jul 2006
    Posts
    59

    cygwin1.dll not found

    I tried making a simple calendar program using Cygwin. The program runs perfectly on my computer because I have all the Cygwin dll's installed. When I try to run the program on another computer, I get an error message because the dlls aren't on that computer.

    Most people that aren't into programming wouldn't have the cygwin dll's on their hard drives. I want to be able to make programs that run on other computers without the cygwin dlls. How could I accomplish this?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    How about on a Cygwin forum and not on a generalized C board? I bet you could have just used a search engine and found this answer.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Hint: static linking
    If you understand what you're doing, you're not learning anything.

  4. #4
    Young C n00b
    Join Date
    Jul 2006
    Posts
    59
    quzah, thanks for your super-helpful reply. You need to get laid, seems like you've got some built up sexual frustration.

    Searched for statically linking cygwin1.dll

    Corinna says "It's not possible"

    http://www.cygwin.com/ml/cygwin/2000-11/msg01264.html


    Let me rephrase my question..

    How do I create a C application that isn't dependant on DLLs not included with the standard windows installation?
    Last edited by kwikness; 08-08-2006 at 04:38 PM.

  5. #5
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    use mingw. I compile with mingw within cygwin all the time. It's a windows port of gcc that does not act as a cygwin compiler

    edit: you should be aware that a lot of people around here are tightly wound. Don't take it personally
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  6. #6
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You can't. The standard windows installation doesn't come with a compiler.


    Quzah.
    Hope is the first step on the road to disappointment.

  7. #7
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    a good alternative to mingw-gcc is the microsoft compiler cl.exe which is free with the platform sdk download (or the Visual C++ express download).

    But you're probably used to the gcc style. get mingw
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  8. #8
    Young C n00b
    Join Date
    Jul 2006
    Posts
    59
    thank you very much 'FillYourBrain'. Your help is greatly appreciated. I'll check that compiler out.

    Note taken on the tightly wound forum users ;-)

    Just the fact that I did try googling for the cygwin1.dll error and came up with no helpful information.

  9. #9
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    yeah, its kind of an annoying thing, the gcc that comes with cygwin. Think about it though, its not a windows compiler per-se. It's a compiler for the cygwin/linux-like environment. It needs to operate as if the program is running in linux, not windows. That's why it needs the dll
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  10. #10
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,534
    Quote Originally Posted by kwikness
    Let me rephrase my question..

    How do I create a C application that isn't dependant on DLLs not included with the standard windows installation?
    Well, you could compile it on a UNIX type system...

  11. #11
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by kwikness
    Just the fact that I did try googling for the cygwin1.dll error and came up with no helpful information.
    You're an idiot. You said in your second reply that you already found your answer: You can't (with cygwin).

    Next, you say you found nothing useful. Well, you need to learn how to use a search engine. three words, multiple answers. There you have it.


    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  2. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  3. Puzzled.
    By silhoutte75 in forum C Programming
    Replies: 13
    Last Post: 01-21-2008, 05:17 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM