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 07:25:18 -0400 From: Jason Tishler To: Oliver Geisen Cc: Cygwin Subject: Re: How to get version-information of executeable Message-ID: <20050614112518.GA4200@tishler.net> Mail-Followup-To: Oliver Geisen , Cygwin References: <107aa6edbe698feff9bb584f47e298e6 AT kreisbote DOT de> <20050613154044 DOT GC3896 AT tishler DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-IsSubscribed: yes 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? Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- 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/