Re: `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam Ravnborg @ Thu, May 1, 2008 at 10:42 PM:
>  > > >   sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /*
>  > > > \3 */:; s:->::; p;}" < asm-offsets.s
>  > > >
>  >
>  > Here is side-problem with this script, which manifests itself as so:
>  ...
>  Can you come up with a _minimal_ fix that makes it compatible with
>  busy-box AND GNU sed?

Script works in GNU and busybox sed, except that "$#" thing.
Let's wait for `set -x` feedback.
_____
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux