Hi,

This seems like mingw distro bug. You can try to work it around
by making sure gcc.exe also exists next to the -dw2 version.
I think normally it should be there though.

Or try using official distro if you absolutely need dw2.

Anyway it's not Harbour problem.

Brgds,
Viktor

On Fri, Apr 2, 2010 at 11:58 AM, francesco perillo <fperi...@gmail.com> wrote:
> For compiling I use
>
> set path=C:\MinGW\bin;c:\qt\qt\bin;c:\cvs\harbour\harbour\bin;%PATH%
>  ( %PATH% includes older harbour and bcc compiler)
> mingw32-make clean install
>
>
> >From log.txt
> ! Building Harbour 2.1.0dev from source - http://www.harbour-project.org
> ! MAKE: mingw32-make 3.81 sh.exe clean install
> ! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
> ! HB_PLATFORM: win (x86) (autodetected)
> ! HB_COMPILER: mingw (autodetected: C:/MinGW/bin/)
> <cut>
> gcc-dw2   -I. -I../../../../../include -O3 -fomit-frame-....
> <------- HERE IT CORRECTLY USES gcc-dw2
> <cut>
> ../../../../../bin/win/mingw/harbour.exe ../../../hbrun.prg
> -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l
> gcc-dw2   -I. -I../../../../../include -Wall -W -O3
> -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DHB_LEGACY_TYPES
> _OFF  -DUNICODE  -ohbrun.o -c hbrun.c
> windres -O coff   -o hbrun.res ../../../hbrun.rc
> "gcc" non S riconosciuto come comando interno o esterno,
>  un programma eseguibile o un file batch.
> windres: preprocessing failed.
> mingw32-make[3]: *** [hbrun.res] Error 1
> mingw32-make[2]: *** [descend] Error 2
> mingw32-make[1]: *** [hbrun.inst] Error 2
> mingw32-make: *** [utils.inst] Error 2
>
> It ends in this way, saying that gcc is not an executable file... and
> infact it should have called gcc-dw2... :-)
>
> Compilation stops...
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to