Val�ry Croizier wrote:
When I try to compile scintilla on MinGW, with mingw32-make -f makefile,
I get the following error.
mingw32-make: *** No rule to make target `LexAsn1.o', needed by
`../bin/SciLexer.dll'. Stop.
What's wrong ?
Good question - I find the "MinGW" make acts practically randomly
(sometimes)... for instance, starting with a MinGW shell in
scintilla/win32, I can do a "make -n" and it *looks* like it will
build the thing.
It says it will build the core components, and then starts showing the
commands to compile the lexers; mine then gives the same error you
get, but it gets farther in the lexers and reports the error for
LexFlagShip.o. Sigh.
It also complains about g++ being absent, even if I override the CC
setting from the make command line... I assume there is some set of
default rules and commands buried in the MinGW stuff somewhere.
HOWEVER, if I make the following simple change to the makefile, THEN
it shows some bizarre command fragments and ends with... your exact
error. :(
Just substitute a blank ".SUFFIXES" for the ".SUFFIXES: .cxx" - this
should just clear out builtin suffix-based build rules. You can do
the same thing from the make command line with "-r"... and you get the
same crazy behavior with NO change to the makefile.
I sure am happy that I can just use the vcbuild stuff for SciLexer.dll. :)
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest