[cmake-developers] Instructions for regenerating CMake flex files?

Michael Wild themiwi at gmail.com
Mon Nov 1 12:16:39 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/01/2010 05:08 PM, Hickel, Kelly wrote:
> 
> 
>> -----Original Message-----
>> From: cmake-developers-bounces at cmake.org [mailto:cmake-developers-
>> bounces at cmake.org] On Behalf Of Michael Wild
>> Sent: Monday, November 01, 2010 10:22 AM
>> To: cmake-developers at cmake.org
>> Subject: Re: [cmake-developers] Instructions for regenerating CMake
>> flex files?
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 11/01/2010 04:07 PM, Hickel, Kelly wrote:
>>> Hi,
>>>   I'm looking at porting CMake to z/OS and it seems as though I have
>> a need to regenerate all flex/yacc/bison generated files because the
>> system's character set is EBCDIC.  I've been googling a lot and haven't
>> been able to find any information on how to do this, the bootstrap
>> command doesn't do it and I haven't found anything in any of the files
>> in the 2.8.2 source tarball that really give me any hints, except lines
>> like this in the generated files:
>>> 	Run flex like this:
>>> 	  flex --prefix=cmListFileLexer_yy -ocmListFileLexer.c
>> cmListFileLexer.in.l
>>>
>>> But, I haven't found any files matching *yy* in the source tarball,
>> or in a cloned copy of the git archive.
>>>
>>> Any tips?
>>>
>>> Thanks,
>>>
>>>
>>> Kelly Hickel
>>> Product Development Architect
>>> BMC Software
>>
>> That's because flex files have a .l suffix (in your example it would be
>> cmListFileLexer.in.l). So, go ahead and run the command as the comment
>> says (and post-process the output manually, as is also stated in the
>> comments).
>>
>> HTH
>>
>> Michael
>>
> 
> Ahh, the power that Monday doth posses to make one feel an idiot.....
> 
> You mean I actually have to READ what's in the file?   AND follow directions?
> 
> Yikes!   ;-}
> 
> Thanks Michael,
> Kelly
> 

It does help occasionally, no matter how contrary to intuition it might
be ;-)

Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzO5+cACgkQyAe0BK8NufN+OACghqjYjKUXQjRt/IXi2ZDW/yXQ
xj0An2pzMVcvKWsMO4H1noP3wn0gU03u
=87cj
-----END PGP SIGNATURE-----



More information about the cmake-developers mailing list