I found a great tool on the web that I wanted to use on my Mac. Unfortunately, 
the tool was only available for MSWindows. I contact the author and offered to 
convert the tool from .net to FLTK/C++. For various reasons, he declined. One 
issue was, that he does not have access to a Mac and could not compile a 
version for me.

Well, easily fixed, I thought, and offered him to use my build farm. But now he 
would have to send the source to my build farm, which is obviously an issue for 
commercial projects.

Searching for a solution, I came across this amazing tool: objconv. It takes 
object files that were compiled by one compiler and transcodes them into object 
files for another platform/compiler. For example, instead of sending the source 
code for "myEncription.c" to the build farm, one can build it on the local 
machine (OS X, Linux, or MSWindows, doesn't matter) and send the binary to the 
build farm. objconv then takes the object file and converts it into any other 
object file format where it can be linked into the executable.

There are two limitations: the object file should come from C, not c++, and 
must be 32 bit Intel.

Nevertheless, I find this tool absolutely genius. Thanks to Agner Fog for 
writing this smart piece of code.

  http://www.agner.org/optimize/?e=0#objconv

 - Matthias

_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to