compile_anything.py script returns compilation error for my C bot.
There was an unspecificed Error. (compile_function returned None.)
I downloaded and started the script for my bot.
It compiles ok! I get MyBot executable. The problem is with this:
====================================================================
if language == "C":
nukeglob('*.o')
nukeglob('MyBot')
sources = safeglob('*.c')
for source in sources:
object_file = source.replace(".c", "") + ".o"
system(['gcc', '-O3', '-funroll-loops', '-c', '-o', object_file, source])
system(['gcc', '-O2', '-o', 'MyBot'] + safeglob('*.o') + ['-lm'])
check_path('MyBot')
====================================================================
Why this code doesn't return a value? It returns value for any other language
except C.
Original issue reported on code.google.com by buratin....@gmail.com on 8 Oct 2010 at 4:45
Original issue reported on code.google.com by
buratin....@gmail.com
on 8 Oct 2010 at 4:45