On Oct 12, 2009, at 2:40 PM, Wilson, Ronald wrote:
> I’m having problems making on Windows XP. Assuming c:\mingw32\bin
> is in my path I get this output:
>
> C:\fossil\fossil>mingw32-make -f .\makefile.w32
> gcc -g -O2 -o translate ./src/translate.c
> ./translate ./src/add.c >add_.c
> '.' is not recognized as an internal or external command,
> operable program or batch file.
> mingw32-make: *** [add_.c] Error 1
>
> If I change the slashes to backslashes in main.mk:
>
> add_.c: $(SRCDIR)/add.c translate
> ./translate $(SRCDIR)/add.c >add_.c
>
> Like this:
>
> add_.c: $(SRCDIR)/add.c translate
> .\translate $(SRCDIR)\add.c >add_.c
>
> It gets past the translate step for add.c, but will have the same
> problem on every file and also when makeheaders is called. I really
> don’t want to be in the business of modifying the .mk file and I am
> assuming that drh doesn’t have this problem when building. Any help?
Can you write a script that will copy Makefile into Makefile.win32
while converting ./ into .\
The following would serve on unix:
sed -e 's,\./,.\\,' Makefile >Makefile.win32
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users