This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get version-information of executeable


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]