qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] [RFC] Syncing documentation vs. -help vs. qemu_options table v4
@ 2009-03-18 17:44 Blue Swirl
  2009-03-19 22:07 ` malc
  0 siblings, 1 reply; 2+ messages in thread
From: Blue Swirl @ 2009-03-18 17:44 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

Hi,

This version uses HOST_CC (actually a leftover from dyngen) for
compiling hxtool to support cross compiling.

Comments? Objections?

[-- Attachment #2: option_system.diff.bz2 --]
[-- Type: application/x-bzip2, Size: 22643 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] [RFC] Syncing documentation vs. -help vs. qemu_options table v4
  2009-03-18 17:44 [Qemu-devel] [PATCH] [RFC] Syncing documentation vs. -help vs. qemu_options table v4 Blue Swirl
@ 2009-03-19 22:07 ` malc
  0 siblings, 0 replies; 2+ messages in thread
From: malc @ 2009-03-19 22:07 UTC (permalink / raw)
  To: qemu-devel

On Wed, 18 Mar 2009, Blue Swirl wrote:

> Hi,
> 
> This version uses HOST_CC (actually a leftover from dyngen) for
> compiling hxtool to support cross compiling.
> 
> Comments? Objections?
> 

hxtool as a shell script

#!/bin/sh

hxtoh()
{
    flag=1
    while read str; do
        case $str in
            HXCOMM*)
            ;;
            STEXI*|ETEXI*) flag=$(($flag^1))
            ;;
            *)
            test $flag -eq 1 && echo $str
            ;;
        esac
    done
}

hxtotexi()
{
    flag=0
    while read str; do
        case "$str" in
            HXCOMM*)
            ;;
            STEXI*|ETEXI*) flag=$(($flag^1))
            ;;
            DEFHEADING*)
            echo $(expr "$str" : "DEFHEADING(\(.*\))")
            ;;
            *)
            test $flag -eq 1 && echo $str
            ;;
        esac
    done
}

case "$1" in
"-h") hxtoh ;;
"-t") hxtotexi ;;
*) exit 1 ;;
esac

-- 
mailto:av1474@comtv.ru

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-19 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18 17:44 [Qemu-devel] [PATCH] [RFC] Syncing documentation vs. -help vs. qemu_options table v4 Blue Swirl
2009-03-19 22:07 ` malc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).