(command.CommandList children: [ (command.AndOr ops: [Id.Op_DAmp Id.Op_DPipe] children: [ (C {<source>} {<'sources/include.sh'>}) (C {<load_target>} {(DQ ($ Id.VSub_Number '$1'))}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-e>} {(DQ ($ Id.VSub_DollarName '$WORK') <'/hello'>)} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (C {(DQ (${ Id.VSub_Name ARCH) <-gcc>)} {<-Os>} {<-static>} {(DQ (${ Id.VSub_Name SOURCES) <'/toys/hello.c'>)} {<-o>} {(DQ ($ Id.VSub_DollarName '$WORK')) <'/hello'>} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {($ Id.VSub_QMark '$?')} {<-ne>} {<0>} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (command.Simple words: [{<echo>} {(DQ <'Compiler doesn\'t seem to work'>)}] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) (C {<dienow>}) ] spids: [79 92] ) ] ) ] spids: [34 49] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:RESULT) op: assign_op.Equal rhs: { (DQ (command_sub left_token: <Id.Left_DollarParen '$('> child: (command.Simple words: [ {<qemu-> (DQ ($ Id.VSub_DollarName '$QEMU_TEST'))} {(DQ ($ Id.VSub_DollarName '$WORK') <'/hello'>)} ] more_env: [ (env_pair name: PATH val: {(DQ ($ Id.VSub_DollarName '$OLDPATH'))} spids: [120] ) ] do_fork: T ) ) ) } spids: [117] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName '$RESULT'))} {<Id.Lit_Equals '='> <Id.Lit_Equals '='>} {(DQ <'Hello world!'>)} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (C {<echo>} {(DQ <'Cross toolchain seems to work.'>)}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] spids: [137 154] ) ] else_action: [ (command.Simple words: [{<echo>} {(DQ <'Can\'t run hello world'>)}] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ) ] )