Skip to content

Commit

Permalink
Add '-e' arg.
Browse files Browse the repository at this point in the history
  • Loading branch information
trhodeos committed Feb 25, 2018
1 parent 55baba2 commit 0afc1ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/spicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ var (
bootstrap_filename = flag.String("b", "Boot", bootstrap_filename_text)
header_filename = flag.String("h", "romheader", header_filename_text)
pif_bootstrap_filename = flag.String("p", "pif2Boot", pif_bootstrap_filename_text)
rom_image_file = flag.String("r", "rom", rom_image_file_text)
rom_image_file = flag.String("r", "output.n64", rom_image_file_text)
elf_file = flag.String("e", "output.out", rom_image_file_text)

// Non-standard options. Should all be optional.
ld_command = flag.String("ld_command", "mips-elf-ld", ld_command_text)
Expand Down
2 changes: 1 addition & 1 deletion ld.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func LinkSpec(s *Spec, ld_command string) error {
glog.V(2).Info("Ld stdout: ", out.String())
}
if err != nil {
glog.Error(errout.String())
glog.Error("Error running ld. Stderr output: ", errout.String())
}
return err
}

0 comments on commit 0afc1ac

Please sign in to comment.