[ale] Don't flame me -- More Info
Eric Z. Ayers
eric.ayers at mindspring.com
Tue Jun 12 04:54:52 EDT 2001
What you want to do in this case is create an Install Shield that
installs Cygwin first, and then your program.
Bao C. Ha wrote:
> Have you tried with the -static flag? I am not familiar
> with Cygwin, but I have used that to avoid using the shared
> libraries.
>
> Bao
>
>> -----Original Message-----
>> From: owner-ale at ale.org [mailto:owner-ale at ale.org]On Behalf Of Cade
>> Thacker
>> Sent: Monday, June 11, 2001 6:04 AM
>> To: Eric Z. Ayers
>> Cc: 'ale at ale.org'
>> Subject: Re: [ale] Don't flame me -- More Info
>>
>>
>> Hello, I got online this morning to ask this specific
>> question, and lo and
>> behold, the thread is already started. I have started back to
>> school, and
>> am learning writing C++, so my teacher used Visual C++ but
>> told us to use
>> what we are comfortable with. So here is my question, I downloaded
>> cygwin, and so far so good. But I need to give her an executable,
>>
>> if I compile my (very simple) code under the cygwin shell,
>> all is good,
>> if I try and run it from the DOS command line then i get the error "A
>> required .DLL file, CYGWIN1.DLL, was not found. So I copied
>> the exe file
>> to my bin dir and then it runs fine under because it is in
>> the same dir as
>> the dll. So here is my question,
>>
>> How do I compile this file, so that my prof can run it on her computer
>> that does not have the cywin dll?
>>
>>
>> --cade
>>
>> "Burn your tv in your yard, and gather round it with your friends,
>> and warm your hands upon the fire and start again" --Toad the
>> Wet Sprocket
>> --------------------------------------------------------------
>> ------------
>>
>> On Sat, 9 Jun 2001, Eric Z. Ayers wrote:
>>
>>> OK, so what is it that you really want?
>>>
>>> I don't want to flame, but cygwin is the tool that is
>>
>> written exactly
>>
>>> for what you want to do, and you only have to install one
>>
>> DLL to get
>>
>>> portability between UNIX and Win32.
>>>
>>> We have had good luck with cygwin and adding on the win32 pthread
>>> portability library to write an application that does a lot
>>
>> of file io
>>
>>> and network io.
>>>
>>> -Eric.
>>>
>>> Chris Fowler wrote:
>>>
>>>> I'most concerend with I/O and win32 console applications.
>>>
>> I need to
>>
>>>> do pipes, dups, selects, async i/o, etc. A lot of communications
>>>> stuff. I don't really want to make cygwin a
>>>
>> requrirement for my
>>
>>>> applications. I look at it as more of a crutch.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Chris
>>>>
>>>> -----Original Message-----
>>>> *From:* Michael Smith [mailto:MSmith at webtonetech.com]
>>>> *Sent:* Friday, June 08, 2001 9:54 AM
>>>> *To:* Chris Fowler
>>>> *Subject:* RE: [ale] Don't flame me
>>>>
>>>> It depends on what your porting and how complicated
>>>
>> the program
>>
>>>> is. Is it GUI based or command line?
>>>>
>>>> -----Original Message-----
>>>> *From:* Chris Fowler [mailto:ChrisF at computone.com]
>>>> *Sent:* Friday, June 08, 2001 9:54 AM
>>>> *To:* 'ale at ale.org'
>>>> *Subject:* [ale] Don't flame me
>>>>
>>>> I need to write some win32 programs. Is there a
>>>
>> good book on
>>
>>>> porting from UNIX to win32. And I mean good book.
>>>>
>>>> Chris
>>>>
>>>
>>>
>>> --
>>> To unsubscribe: mail majordomo at ale.org with "unsubscribe
>>
>> ale" in message body.
>>
>>
>> --
>> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale"
>> in message body.
>>
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list