Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 14 Jun 2005 12:15:25 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Oliver Geisen <technik@kreisbote.de>
cc: cygwin@cygwin.com
Subject: Re: How to get version-information of executeable
In-Reply-To: <20050614112518.GA4200@tishler.net>
Message-ID: <Pine.GSO.4.61.0506141213180.6068@slinky.cs.nyu.edu>
References: <107aa6edbe698feff9bb584f47e298e6@kreisbote.de>  <20050613154044.GC3896@tishler.net> <b2766c847c029501907869ab965a62c3@kreisbote.de>  <20050614112518.GA4200@tishler.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 14 Jun 2005, Jason Tishler wrote:

> Oliver,
>
> Please post instead of sending private email.
>
> On Tue, Jun 14, 2005 at 08:54:10AM +0200, Oliver Geisen wrote:
> > >>how can i read the version-number of an windows *.EXE file out of a
> > >>bash-script ?
> > >    http://cygwin.com/ml/cygwin/2005-01/msg00882.html
> > Seems to be excactly what i want. Unfortunately i'm not able to
> > compile the source.
> > A simple make will end up in:
> >
> > g++ -O2 -s -mno-cygwin -o version version.cc -lversion
               ^^^^^^^^^^^

> > make: g++: Command not found
> > make: *** [version] Error 127
> >
> > and a gcc version.cc in:
> >
> > gcc: installation problem, cannot exec `cc1plus': No such file or
> > directory
> >
> > Any ideas ?
>
> Did you install the gcc-g++ package?  Is your gcc installation broken?

He'll apparently also need a gcc-mingw package, and gcc-mingw-g++...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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

