X-Spam-Check-By: sourceware.org Message-ID: Date: Wed, 21 Feb 2007 11:21:47 -0500 From: "Mathieu Malaterre" To: cygwin AT cygwin DOT com Subject: Re: windres: zlib.rc:4: syntax error In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Ok using the very latest zlib distribution I was able to compile the rc file: $ windres -DGCC_WINDRES -i win32/zlib1.rc -o win32/zlib1.res Simple bad luck... Sorry for the noise, -M On 2/21/07, Mathieu Malaterre wrote: > Hello there, > > Has anyone of you any experience in using windres. I simply wanted > to try it out on a random res file. Here is what I get: > > $ windres -i zlib.rc -o zlib.res > windres: zlib.rc:4: syntax error > > Am I missing something here ? I could only find a very old post on that subject: > http://www.cygwin.com/ml/cygwin/1998-01/msg00600.html > > Thanks > -Mathieu > > $ cat zlib.rc > #include > > #define IDR_VERSION1 1 > IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE > FILEVERSION 1,1,3,0 > PRODUCTVERSION 1,1,3,0 > FILEFLAGSMASK VS_FFI_FILEFLAGSMASK > FILEFLAGS 0 > FILEOS VOS_DOS_WINDOWS32 > FILETYPE VFT_DLL > FILESUBTYPE 0 // not used > BEGIN > BLOCK "StringFileInfo" > BEGIN > BLOCK "040904E4" > //language ID = U.S. English, char set = Windows, Multilingual > > BEGIN > VALUE "FileDescription", "zlib data compression library\0" > VALUE "FileVersion", "1.1.3\0" > VALUE "InternalName", "zlib\0" > VALUE "OriginalFilename", "zlib.dll\0" > VALUE "ProductName", "ZLib.DLL\0" > VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" > VALUE "LegalCopyright", "(C) 1995-1998 Jean-loup Gailly & Mark Adler\0" > END > END > BLOCK "VarFileInfo" > BEGIN > VALUE "Translation", 0x0409, 1252 > END > END > -- Mathieu -- 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/