Mercurial > hg-old > index.cgi
comparison extra/as @ 207:0926c29426f4
Updated ar and as scripts to be able to work with libgcc etc.
author | lost |
---|---|
date | Tue, 21 Apr 2009 02:04:57 +0000 |
parents | 3711cd1c01e2 |
children |
comparison
equal
deleted
inserted
replaced
206:299c5d793aca | 207:0926c29426f4 |
---|---|
120 # The -o option specifies the output file name | 120 # The -o option specifies the output file name |
121 # --obj creates object files | 121 # --obj creates object files |
122 # --pragma=undefextern causes undefined symbols to be assumed external | 122 # --pragma=undefextern causes undefined symbols to be assumed external |
123 # --pragma=cescapes allows C escape syntax in strings | 123 # --pragma=cescapes allows C escape syntax in strings |
124 #echo lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes $input_file | 124 #echo lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes $input_file |
125 lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes $input_file | 125 lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes --pragma=importundefexport $input_file |
126 rc=$? | 126 rc=$? |
127 | 127 |
128 # OK, see if the assembler succeeded or not. | 128 # OK, see if the assembler succeeded or not. |
129 # If it failed, the source is copied to /tmp/as6809_error.s | 129 # If it failed, the source is copied to /tmp/as6809_error.s |
130 # so that it can be inspected. GCC will normally delete any | 130 # so that it can be inspected. GCC will normally delete any |