|
From: | Charles Wilson |
Subject: | Re: MinGW issue |
Date: | Sat, 09 Oct 2004 21:59:56 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b |
Albert Chin wrote:
$run eval "${ECHO} EXPORTS "'> "$output_objdir/$output.def"'$run eval "${SED} -n -e 'p'"' < "$export_symbols" >> "$output_objdir/$output.def"'That should work, right, if the -n option to sed is universal? (there's one other place where you have to do the same thing).The original code just inserts "EXPORTS" at the first line. So, why not just: $run ${ECHO} EXPORTS > "$output_objdir/$output.def" $run cat "$export_symbols" >> "$output_objdir/$output.def"
Because I wasn't sure if we were allowed to use cat (just bare 'cat', not even ${CAT}). I *know* we can use ${ECHO} and ${SED}.
-- Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |