Bah. Attachment error. Trying again.
> -----Original Message----- > From: > [email protected] > [mailto:avr-libc-dev-bounces+eweddington=cso.atmel....@nongnu. > org] On Behalf Of Weddington, Eric > Sent: Friday, January 30, 2009 10:22 AM > To: Ruud Vlaming; Joerg Wunsch > Cc: [email protected]; [email protected] > Subject: [avr-libc-dev] RE: [avr-gcc-list] > noavr/lib/avr25/attiny13a/Makefile.in > > > > > -----Original Message----- > > From: Ruud Vlaming [mailto:[email protected]] > > Sent: Friday, January 30, 2009 5:43 AM > > To: Weddington, Eric > > Cc: [email protected] > > Subject: Re: [avr-gcc-list] no avr/lib/avr25/attiny13a/Makefile.in > > > > On Thursday 29 January 2009 17:28, you wrote: > > > > If you agree with me that a simple version comparison with a > > > > two digit number, emmiting a warning only is sufficient in this > > > > case i can make the patch. > > > > > > I'm ok with say that we require some verion >= X. Anything < X > > > should fail. Anything >= X should be allowed. With X being the > > > lowest version that we check for. > > > > Here it is. I added some sed hocus-pocus to normalize the version > > numbers before comparisson. It is NOT bullit proof, but it handles > > one and/or two digit, possibly mixed, version numbers of two and/or > > three levels, possibly preceded by 'v' and augmented by release > > denotifiers. > > > > Hmm. > > First off, I'm moving this thread to the avr-libc-dev list > where it is more appropriate. > > Second, see an alternative patch that is attached. This is > against the 1.6 branch. > > It's only had minimal testing. But it avoids the complicated > sed magic, and string comparison, by instead doing arithmetic > expansion on the major and minor parts of the version string > and then doing arithmetic comparisons. That way we can check > if the major parts are equal and the minor part of the > revision is less than some specific value, then abort because > the version does not meet the minimal requirement. > > Thoughts? > > Joerg, how well would this work on FreeBSD? These changes are > only bash-isms AFAIK, but you know more about unix > compatibility issues. > > Eric Weddington > begin 666 bootstrap.patch m26y...@z(&)O;W1S=')A< H]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]"E)#4R!F M:6QE.B O<V]U<F-E<R]A=G(M;&EB8R]A=G(M;&EB8R]B;V]T<W1R87 l...@ir M971R:65V:6YG(')E=FES:6]N(#$N-"XR+C,*9&EF9B M=2 M<" M<C$N-"XR M+C,@8F]O='-T<F%P"BTM+2!B;V]T<W1R87 ),3...@4v5p(#(P,#@@,3,Z-#,Z M,3<@+3 P,# ),2XT+C(N,phk...@8f]o='-T<F%P"3,P($IA;B R,# Y(#$W M.C$U.C0P("TP,# P"D! ("TQ-BPR-2 K,38L,c...@0$ *(#H@)'M!551/34%+ M13TB875T;VUA:V4D>T%-7U9%4GTB?0H@"B C(%9E<FEF>2!A=71O8V]N9B!V M97)S:6]N"BT*+4%55$]#3TY&7u9%...@*"1[05543T-/3D9]("TM=F5R<VEO M;B R/B]D978O;G5L;"!\(&ae...@+6x@,2!\(%P*+2 @(" @(" @(" @(" @ M8W5T("UD("<@)R M9B T*2 R/B]D978O;G5L;& *+6EF(%L@(B1!551/0T]. M1E]615(B("$]("(R+C4Y(B M82 B)$%55$]#3TY&7U9%4B(@(3T@(C(N-C B M("UA("(D05543T-/3D9?5D52(B A/2 B,BXV,2(@7 HM(" @(" M82 B)$%5 M5$]#3TY&7U9%4B(@(3T@(C(N-C(B(%T**T%55$]#3TY&7U9%4E-)3TX]8"@D M>T%55$]#3TY&?2 M+79E<G-I;VX@,CXO9&5V+VYU;&p...@?"!H96%D("UN(#$@ M?"!c...@+60@)R G("UF(#0I(#(^+V1E=B]N=6QL8 HK05543T-/3D9?5D52 M4TE/3E]-04I/4...@*&5C:&\@)'M!551/0T].1E]615)324].?2!\(&-U=" M M9" N("UF(#$I(#(^+V1E=B]N=6QL8 HK05543T-/3D9?5D524TE/3E]-24Y/ m...@*&5C:&\@)'M!551/0T].1E]615)324].?2!\(&-U=" M9" N("UF(#(I M(#(^+V1E=B]N=6QL8 HK:6...@=&5S=" D*"@D05543T-/3D9?5D524TE/3E]- M04I/4BDI("UE<2 R("UA("0H*"1[05543T-/3D9?5D524TE/3E]-24Y/4GTI M*2 M;'0...@-3d*('1H96X*+0EE8VAO(")9;W4@;F5E9"!T;R!U<v...@875t;V-O M;f...@=f5r<VEO;B R+C4Y+" R+C8P+" R+C8Q+"!O<B R+C8R+B(*+0EE8VAO M(")9;w...@87)E('5S:6YG(& D>T%55$]#3TY&?2 M+79E<G-I;v...@?"!H96%D M("UN(#...@+b(**PEE8VAO(")9;W4@;F5E9"!T;R!U<v...@875t;V-O;f...@=f5r M<VEO;B R+C4Y(&]R(&=R96%T97(N(@HK"65C:&\@(EEO=2!A<f...@=7-i;F<@ M=F5R<VEO;B D>T%55$]#3TY&7U9%4E-)3TY]+B(*( EE>&ET(#$*(&9I"B * M(",@5F5R:69Y(&%U=&]M86ME('9E<G-I;VX*+0HM05543TU!2T5?5D52/6 H M)'M!551/34%+...@+2uv97)S:6]N('P@:&5A9" M;B Q('p...@7 HM(" @(" @ M(" @(" @("!c...@+60@)R G("UF(#...@?"!c...@+60@)RXG("UF("TR*2 R M/B]D978O;G5L;& *+6EF(%L@(B1!551/34%+15]615(B("$]("(q...@b("UA M("(D05543TU!2T5?5D52(B A/2 B,2XY(B M82 B)$%55$]-04M%7U9%4B(@ M(3T@(C$N,3 B(%T**T%55$]-04M%7U9%4E-)3TX]8"@D>T%55$]-04M%?2 M M+79E<G-I;v...@?"!H96%D("UN(#...@?"!c...@+60@)R G("UF(#...@?"!C=70@ M+60@)RXG("UF("TR*2 R/B]D978O;G5L;& **T%55$]-04M%7U9%4E-)3TY? M34%*3U(]8"AE8VAO("1[05543TU!2T5?5D524TE/3...@?"!c...@+60@+B M M9B Q*2 R/B]D978O;G5L;& **T%55$]-04M%7U9%4E-)3TY?34E.3U(]8"AE M8VAO("1[05543TU!2T5?5D524TE/3...@?"!c...@+60@+B M9B R*2 R/B]D M978O;G5L;& **VEF('1E<W0@)"@H)$%55$]-04M%7U9%4E-)3TY?34%*3U(I M*2 M97$@,2 M82 D*"@D>T%55$]-04M%7U9%4E-)3TY?34E.3U)]...@+6qt M(#...@*('1H96X*+0EE8VAO(")9;W4@;F5E9"!T;R!U<v...@875t;VUA:v...@=f5r M<VEO;B q...@l(#$N.2P@;W(@,2XQ,"XB"BT)96-H;R B66]U(&%R92!U<VEN M9R!@)'M!551/34%+...@+2uv97)S:6]N('P@:&5A9" M;B Q8"XB"BL)96-H M;R B66]U(&ye...@=&\...@=7-e(&%U=&]M86ME('9E<G-I;VX@,2XX(&]R(&=R M96%T97(N(@HK"65C:&\@(EEO=2!A<f...@=7-i;F<@=F5R<VEO;B D>T%55$]- >04M%7U9%4E-)3TY]+B(*( EE>&ET(#$*(&9I"B * ` end _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
