Add example of modifying mrbc options to add debug info

This commit is contained in:
Carson McDonald
2013-05-13 10:16:52 -04:00
parent 7df8e6936e
commit 9f43a25602
+5
View File
@@ -25,6 +25,11 @@ MRuby::Build.new do |conf|
# cc.compile_options = "%{flags} -MMD -o %{outfile} -c %{infile}"
# end
# mrbc settings
# conf.mrbc do |mrbc|
# mrbc.compile_options = "-g -B%{funcname} -o- -" # The -g option is required for line numbers
# end
# Linker settings
# conf.linker do |linker|
# linker.command = ENV['LD'] || 'gcc'