public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygcc-1.dll: which package?
@ 2014-04-17  1:53 Brandon Barker
  2014-04-17  2:13 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: Brandon Barker @ 2014-04-17  1:53 UTC (permalink / raw)
  To: cygwin

Hello,

I am trying to provide a binary that will require Cygwin to run. The
trick is, when I compile it on one system and run it on another,
certain dependencies may or may not be present. Although I thought I
did a thorough job on my test system, I'm missing cygcc-1.dll. When I
try to run my executable on a different system than the one it was
compiled on, I get the error:

/cygdrive/c/Users/brand_000/Downloads/WindowsCygwin64_falcon_minDisj_1_0.exe:
error while loading shared libraries: cyggc-1.dll: cannot open shared
object file: No such file or directory

Both systems are using Cygwin64.

At first I thought this was probably libgcc, but it seems to not be
the case since I explicitly checked it, updated it, and got the same
result.

More generally, any advice on dealing with such problems would be appreciated.

Best,
Brandon Barker
brandon.barker@gmail.com

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cygcc-1.dll: which package?
  2014-04-17  1:53 cygcc-1.dll: which package? Brandon Barker
@ 2014-04-17  2:13 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (Cygwin) @ 2014-04-17  2:13 UTC (permalink / raw)
  To: Cygwin List

On 04/16/2014 09:53 PM, Brandon Barker wrote:
> Hello,
>
> I am trying to provide a binary that will require Cygwin to run. The
> trick is, when I compile it on one system and run it on another,
> certain dependencies may or may not be present. Although I thought I
> did a thorough job on my test system, I'm missing cygcc-1.dll. When I
> try to run my executable on a different system than the one it was
> compiled on, I get the error:
>
> /cygdrive/c/Users/brand_000/Downloads/WindowsCygwin64_falcon_minDisj_1_0.exe:
> error while loading shared libraries: cyggc-1.dll: cannot open shared
> object file: No such file or directory
>
> Both systems are using Cygwin64.
>
> At first I thought this was probably libgcc, but it seems to not be
> the case since I explicitly checked it, updated it, and got the same
> result.

When you're wondering what package contains something you're looking for,
consult the package search engine - <http://cygwin.com/packages/>.  It will
tell you if there are any packages in the distro that have the file you're
searching for.  In your case. see:

<http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cyggc-1.dll&arch=x86_64>

And remember, if you're actually distributing a binary, the GPL comes into
play.  You have to provide sources for your app and for the parts of Cygwin
you're distributing.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-17  2:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-17  1:53 cygcc-1.dll: which package? Brandon Barker
2014-04-17  2:13 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).