Hi, > Wolfgang Denk wrote: >> In message <[EMAIL PROTECTED]> you wrote: >>> Bleah on the small C program (nothing personal, just hate to add >>> Yet Another Program to the build process). How about using echo >>> for prelim text (if necessary) and xxd to create the struct >>> instead? I like making maintenance Somebody Else's Problem >>> (SEP[1]) >>> >>> $ man xxd >> >> How standard is xxd across distributions and operating systems? >> >> Best regards, >> >> Wolfgang Denk > > In debian, it is (also) provided by the vim-common package. It looks > like vim (the project) is the origin of the command. That was > Harald's objection to using xxd. Unfortunately, it appears to be a > reasonable objection. > > $ dpkg -S /usr/bin/xxd > vim-common: /usr/bin/xxd > > IMHO, vim and xxd are essential programs so I'm OK with using > xxd. OTOH, I understand some people actually prefer emacs and may have > a problem with requiring vim to be installed. ;-/
Even though I'm an enthusiastic Emacs user, I have different reasons for my vote. As far as build dependencies go, I'd like to restrict this to the LSB standard[1]. Xdd is not in there, so thats why I vote for the small C program (unless we can adapt the script and use 'od'). Cheers Detlev [1] http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/toccommand.html -- Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away. -- Antoine de Saint-Exupery -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users