feat: complete Lab3 instruction selection and assembly generation
This commit is contained in:
@@ -52,7 +52,7 @@ expected_file="$input_dir/$stem.out"
|
||||
"$compiler" --emit-asm "$input" > "$asm_file"
|
||||
echo "汇编已生成: $asm_file"
|
||||
|
||||
aarch64-linux-gnu-gcc "$asm_file" -o "$exe"
|
||||
aarch64-linux-gnu-gcc "$asm_file" sylib/sylib.c -o "$exe"
|
||||
echo "可执行文件已生成: $exe"
|
||||
|
||||
if [[ "$run_exec" == true ]]; then
|
||||
|
||||
Reference in New Issue
Block a user