Module and debug build

BlitzMax Forums/BlitzMax Programming/Module and debug build

col(Posted 2005) [#1]
I noticed a few people saying that after they have built their modules, that thier module will only work with either 'debug build on' OR with 'debug build off'.

When you use the 'bmk' program to build your modules if you specify the '-r' option ( build for release ) then it generates a '.a' file in your source file folder and also '.o' file in the '.bmax' folder. If you specify the '-d' then you get '.d.a' and '.d.o' files.
It makes sense that the files with the '.d' prefix are for the debug build option and after a little test I found this to be true! ( so It might be an idea to always build with both options ) :p

I did look in the forums to see if this had already been posted, but I couldn't find it anywhere.
I hope it's helpful.

Regards


Russell(Posted 2005) [#2]
'Build Debug plus No Debug' would be a nice little option.

Russell