Steven Woody | 1 Oct 04:05 2009
Picon

List all installed pacakges

Hi,

How can I list all the installed packages on my system? Thanks.

--

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewoody <at> gmail.com)

Dave Korn | 1 Oct 04:37 2009

Re: List all installed pacakges

Steven Woody wrote:
> Hi,
> 
> How can I list all the installed packages on my system? Thanks.
> 

  "cygcheck -cd" gets a full package listing.

    cheers,
      DaveK

smoore | 1 Oct 07:21 2009
Picon

cppunit in 1.7

I'd like to admit up front that I know next to nothing about cppunit, so
it's very possible this is pilot error.

With that said, I can't seem to get cppunit working under 1.7. I checked the
archives and it looks like something similar happened in the past, with
older cygwin's. Back then it turned out cppunit simply needed to be rebuilt.
Currently I get a segfault exactly like the old reports. I even went and got
the hello.cpp to test with in the event my current test file was broken, but
I get the same segfault. 

http://www.mail-archive.com/cygwin <at> cygwin.com/msg83519.html

I downloaded the source and rebuilt but I get the segfault with my locally
built copy. To build I used a straight cygport and everything looked OK. I
did a make check and that looked OK. 

I also tried in 1.5 and cppunit over there works swimmingly.

Could someone check if cppunit works elsewhere and if not I'll try to run
this to ground here or send the usual info as attachments so someone smarter
than me can see something.

Stan

Steven Woody | 1 Oct 07:44 2009
Picon

ldd in cygwin

Hi,

In Linux, we can get a library dependency list by running of 'ldd'.
In windows, executable still depend on libraries, such as DLLs, but I
don't find a 'ldd' command in cygwin.  Is there any tool that will do
the job?

Thanks.

--

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewoody <at> gmail.com)

Dave Korn | 1 Oct 08:02 2009

Re: ldd in cygwin

Steven Woody wrote:
> Hi,
> 
> In Linux, we can get a library dependency list by running of 'ldd'.
> In windows, executable still depend on libraries, such as DLLs, but I
> don't find a 'ldd' command in cygwin.  Is there any tool that will do
> the job?

  "cygcheck /path/to/exe"

    cheers,
      DaveK

Steven Woody | 1 Oct 07:54 2009
Picon

Re: ldd in cygwin

On Thu, Oct 1, 2009 at 2:02 PM, Dave Korn
<dave.korn.cygwin <at> googlemail.com> wrote:
> Steven Woody wrote:
>> Hi,
>>
>> In Linux, we can get a library dependency list by running of 'ldd'.
>> In windows, executable still depend on libraries, such as DLLs, but I
>> don't find a 'ldd' command in cygwin.  Is there any tool that will do
>> the job?
>
>  "cygcheck /path/to/exe"
>
>    cheers,
>      DaveK
>
>

Wonderful! It seems cygcheck can do many things.

> --
> 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
>
>

--

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer
(Continue reading)

Corinna Vinschen | 1 Oct 10:12 2009

[ANNOUNCEMENT] [1.7] Updated: vim-7.2.264-1

I have updated the version of vim for Cygwin 1.7 to 7.2.264-1.

This is an update to the latest upstream patchlevel 264.  Cygwin Vim
builds from the vanilla sources.

This version also starts using the alternatives system, together with
the gvim package.  The non-graphical vim executable is now called
"vim-nox", and the various symlinks, including "vim" point to vim-nox by
default.  If you also install the upcoming gvim-7.2.264-1 package, or
just the gvim package alone, all the symlinks except "vi" and "ex" will
point to gvim.

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

              *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com <at> cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available  
starting at the above URL.
(Continue reading)

Lenik | 1 Oct 10:23 2009
Picon

cygpath output unnecessary ending slash/

When specify --windows or --mixed form, cygpath will append `/' to the 
result path when it is a directory, this is unnecessary and 
inconformity, for example:

cygpath -u some/dir
     > some/dir
cygpath -m some/dir
     > some/dir/
cygpath -w .
     > x:\some\dir\

The ending `\' is only needed when the win32 path points to the drive 
root, for example /cygdrive/c => C:\, and even this is not a must, 
because in most cases the path will join another path segment `cygpath 
-w /cygdrive/c`/path/segment and the slash after the drive letter is 
duplicated.

A severe problem with the ending back-slash \ is it will cause to escape 
the following quote (", ') character,

     if [ "$cygwin" = "true" ] ; then
       PROJECT_HOME=`cygpath -w "$PWD"`
     else
       PROJECT_HOME=`pwd`
     fi

     # do with "$PROJECT_HOME" ...

The PROJECT_HOME looks like "T:\TEMP\" and it cause the following 
statement can't be parsed correctly:
(Continue reading)

Thomas Wolff | 1 Oct 10:31 2009
Picon

Re: cygwin settings in cygwin.bat

CygwinUser wrote:
> Hi,
>
> Thanks for your reply. It works. But just curious to know if I can change it
> inside cygwin.bat file?.
>   
mode con lines=40 cols=90
> Larry Hall (Cygwin) wrote:
>   
>> On 09/30/2009 01:37 PM, CygwinUser wrote:
>>     
>>> Hi,
>>>
>>> I would like to change the default settings for screen buffer size and
>>> screen width. I would like to know which cygwin variable should be used
>>> and
>>> the syntax to set in cygwin.bat. Could you please let me know
>>> Thanks in advance.
>>>       
>> If you're talking about the console you get with cmd.exe (what you get if
>> you
>> double-click on 'cygwin.bat' to start it from explorer or your desktop for 
>> example),
>> then you are squarely in Windows-land, as this has nothing to do with
>> Cygwin 
>> (and
>> as such is pretty-much off-topic for this list).  But, assuming you are 
>> using cmd.exe,
>> you'll want to go to the icon in the top left corner.  Bring up the
>> context 
(Continue reading)

Lenik | 1 Oct 10:31 2009
Picon

Re: ldd in cygwin

On 2009-10-1 13:44, Steven Woody wrote:
> Hi,
>
> In Linux, we can get a library dependency list by running of 'ldd'.
> In windows, executable still depend on libraries, such as DLLs, but I
> don't find a 'ldd' command in cygwin.  Is there any tool that will do
> the job?
>
> Thanks.
>
>

There is a cygwin ldd, in cygwin

$ cd /etc/setup
$ zgrep ldd *
cygwin.lst.gz:usr/bin/ldd.exe


Gmane