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] |
Paul, All, On Tuesday 12 May 2009 17:26:14 Paul Smith wrote: > On Sun, 2009-05-10 at 10:30 -0400, Joachim Nilsson wrote: > > lib="$( echo lib{ncursesw,ncurses,curses}.{so,a,dylib} )" > Personally I think that changing the script to work properly with a > POSIX shell is the best in the _long_ run, as it's the most portable. Yes, ./configure *shall* be a POSIX-compliant shell script. This is the course I took when fixing that non-portable line. > The above seems like a lot of processing (non-portable, invokes an extra > shell, etc.) to avoid writing 9 words: Programers are lazy, and if they can write smaller code, all the better. Note also that programers also prefer writing bigger code to generate a list of constants, rather than writing said list. Given this, please note that you can call me a programmer! ;-P Using loops to generate said list has one positive side effect, by the way: if we have to add a new library name and/or extension, it is easier to update the loop that handles that part, rather than updating the full list, which would become unmanageable in the loooong term. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- 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] |