Hi Viktor,
Il 06/03/2009 10.21, [email protected] ha scritto:
Revision: 10553
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10553&view=rev
Author: vszakats
Date: 2009-03-06 09:21:06 +0000 (Fri, 06 Mar 2009)
Log Message:
-----------
2009-03-06 10:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
! Fixed -gh switch detection and workings.
(Francesco, pls check now allmod.hbm)
+ -gt switch can now be filtered. (-gtwin{win})
! -gui switch won't anymore add '-Wl,-mwindows' C compiler switch
on *nix systems. Someone pls confirm this is right.
* icc will use -vc postfixed .dlls. They seem to be binary
compatible, but I didn't test.
% Using __PLATFORM__UNIX macro where applicable.
! Ignoring -o Harbour option passed using '-prgflag:'
I found only now time for tests.
compiling under CentOS 5.2 uhttpd I got:
--------------------
[r...@c52sviluppo uhttpd]# cross-hb-gnu.sh hbmk2 uhttpd.hbm
hbmk: Processing configuration: /usr/bin/hbmk.cfg
Harbour 1.1.0dev (Rev. 10560)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'uhttpd.prg'...
"Lib GD support disabled"
"Harbour socket"
Lines 4386, Functions/Procedures 41
Generating C source output to 'uhttpd.c'... Done.
Compiling 'cgifunc.prg'...
Lines 5583, Functions/Procedures 27
Generating C source output to 'cgifunc.c'... Done.
Compiling 'cookie.prg'...
Lines 6570, Functions/Procedures 7
Generating C source output to 'cookie.c'... Done.
Compiling 'session.prg'...
Lines 8392, Functions/Procedures 31
Generating C source output to 'session.c'... Done.
sh: /usr/bin:/gcc: No such file or directory
hbmk: Error: Running C compiler. 32512:
/usr/bin:/gcc uhttpd.c cgifunc.c cookie.c session.c uhttpdc.c socket.c
/tmp/hbmk_p547wr.c -O3 -ouhttpd -I/usr/include/harbour
-L/usr/lib/harbour -Wl,--start-group -lharbourmt -lhbcplr -lhbdebug
-lgpm -Wl,--end-group
[r...@c52sviluppo uhttpd]#
[r...@c52sviluppo uhttpd]# which gcc
/usr/bin/gcc
[r...@c52sviluppo uhttpd]#
--------------------
instead for modules I got:
--------------------
[r...@c52sviluppo modules]# cross-hb-gnu.sh hbmk2 allmod.hbm
hbmk: Processing configuration: /usr/bin/hbmk.cfg
Harbour 1.1.0dev (Rev. 10560)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'cookie.prg'...
Lines 943, Functions/Procedures 1
cookie.prg(117) Error E0032 Can't create output file
'..home/cgi-bin/cookie.hrb'
Compiling 'info.prg'...
Lines 1912, Functions/Procedures 4
info.prg(143) Error E0032 Can't create output file
'..home/cgi-bin/info.hrb'
Compiling 'showcounter.prg'...
Lines 2375, Functions/Procedures 2
showcounter.prg(223) Error E0032 Can't create output file
'..home/cgi-bin/showcounter.hrb'
Compiling 'tableservletdb.prg'...
Lines 3607, Functions/Procedures 11
tableservletdb.prg(405) Error E0032 Can't create output file
'..home/cgi-bin/tableservletdb.hrb'
Compiling 'testajax.prg'...
Lines 3764, Functions/Procedures 1
testajax.prg(68) Error E0032 Can't create output file
'..home/cgi-bin/testajax.hrb'
hbmk: Error: Running Harbour compiler. 256:
/usr/bin/harbour -n2 cookie.prg info.prg showcounter.prg
tableservletdb.prg testajax.prg -i/usr/include/harbour -n -gh -w3
-o..\home/cgi-bin/
[r...@c52sviluppo modules]#
--------------------
* contrib/examples/uhttpd/uhttpdc.c
* Cleaned Windows headers usage.
#define HB_OS_WIN_USED is safe to use on all platforms,
it just requests the Windows headers, and if compiled on
Windows, it will #include them.
* contrib/examples/uhttpd/uhttpd.prg
+ Automatically sets USE_HB_INET on non-Windows platforms.
- contrib/examples/uhttpd/uhttpd-inet.hbm
- contrib/examples/uhttpd/uhttpdgd-inet.hbm
- Removed files no longer necessary.
* contrib/examples/uhttpd/uhttpd.hbm
+ Added comment about -DUSE_HB_INET option.
% Removed -lhbct
Thank you
Best regards
Francesco
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour