Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 14 Jun 2005 12:15:25 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Oliver Geisen cc: cygwin AT cygwin DOT com Subject: Re: How to get version-information of executeable In-Reply-To: <20050614112518.GA4200@tishler.net> Message-ID: References: <107aa6edbe698feff9bb584f47e298e6 AT kreisbote DOT de> <20050613154044 DOT GC3896 AT tishler DOT net> <20050614112518 DOT GA4200 AT tishler DOT 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/