On Tue, 05 Aug 2008, Szakáts Viktor wrote:

Hi Viktor,

> I've manually built harbour.dll using the above method,

Try it now. I've just committed workaround.
Seeing your other message I think that it can be caused by C:
drive specification. AFAIR MinGW support alternative /c/
*nix like path convention. Anyhow now it should work.

> and I can now confirm that MSVS2005cpp, MSVS2005,
> MSVS2008cpp, MSVS2008 work with the MinGW built harbour.dll.
> I've tested with hbtest-dll.exe from each build.

Very nice.

> I couldn't try the other was round, as I don't know
> how to build hbtest.exe with harbour.dll dynamic lib
> using MinGW. But I suspect it would work also.

Now the postinst.sh should be executed and it will create
hb* scripts.
So simply make:
   cd utils/hbtest
   for i in *.prg; do hbcmp -n -w -es2 $i; done
   hbcc -c rt_miscc.c
   hblnk *.o -gtstd -o hbtest -shared

Then replace harbour.dll created by MinGW with the one from MSVC
And relink the program:
   hblnk *.o -gtstd -o hbtest -shared
HBTEST should show different compiler note for MSVC...

or chose sth more simple:
   cd utils/hbrun
   hbmk -n -w -es2 hbrun -shared

then run it and execute:
   ? hb_compiler()

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to