This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: crosstool cleaning up


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


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