delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/14/07:25:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <jason AT tishler DOT net>
To: Oliver Geisen <technik AT kreisbote DOT de>
Cc: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: How to get version-information of executeable
Message-ID: <20050614112518.GA4200@tishler.net>
Mail-Followup-To: Oliver Geisen <technik AT kreisbote DOT de>, Cygwin <cygwin AT cygwin DOT com>
References: <107aa6edbe698feff9bb584f47e298e6 AT kreisbote DOT de> <20050613154044 DOT GC3896 AT tishler DOT net> <b2766c847c029501907869ab965a62c3 AT kreisbote DOT de>
Mime-Version: 1.0
In-Reply-To: <b2766c847c029501907869ab965a62c3@kreisbote.de>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019