Re: gengetopt C example

Lorenzo Bettini <[email protected]> Tue, 22 Oct 2013 23:56:45 +0200
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
Hi Tong

If I remember correctly, that example generates a file that expected a
PACKAGE and VERSION passed on the compilation command line, e.g.,

gcc -DPACKAGE="..." -DVERSION="..."

this should be documented in the manual.

please let me know whether that fixes your problem.

cheers
	Lorenzo


-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book