[Omake] generating a list of commands to do for cross compiling

Erick Tryzelaar erickt at dslextreme.com
Wed Jan 10 15:55:33 PST 2007


Hi again,

Say we were cross compiling a program to a platform that doesn't support 
ocaml, and thus omake. Would it be possible to get omake to print out a 
list of all the operations that would be done? The "-n" option doesn't 
work as it errors out if a target doesn't exist:

 > omake build --verbose -n
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.2 sec)
- scan tre scan-cxx-tre_filter.cpp
+ g++ -I. -I../rtl -MM tre_filter.cpp
- exit tre scan-cxx-tre_filter.cpp, code 0
+ g++ -I. -I../rtl -c -o tre_filter.o 
tre_filter.cpp                                                                                 
] 00010 / 00051
*** omake: 16/57 targets are up to date
*** omake: failed (0.7 sec, 1/1 scans, 0/1 rules, 29/86 digests)
*** omake error:
   File /opt/local/lib/omake/build/C.om: line 140, characters 4-59
   rule failed to build target: tre/tre_filter.o


-e


More information about the Omake mailing list