crosstool cleaning up

David Kahn dmkahn@gmail.com
Thu Nov 9 23:58:00 GMT 2006


Yann E. MORIN wrote:


> Suggested naming scheme for crosstool

>  5) Variables that are set internally by crosstool and have a /weak/ [*]
>     meaning may begin with CT_, shall be all lowercase, and may not have an
>     underscore nor a dash in-between two words. Eg.: ARCHIVENAME could
>     become CT_archivename, while i would most probably be left as is. :-)

All good suggestions, but in this case, if an underscore adds to
readability of the name there's no reason to prohibit it, IMHO.
It's just a matter of choice or style.

So, CT_archivename or CT_archive_name would both be acceptable,
using your example. (Or CT_ArchiveName or CT_Archive_Name if
we apply rule 6.)

-David

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list