Viktor,
I think there is a typo :
$ echo "? 'hello'" > tst.prg
$ hbmk2 tst
Harbour 1.1.0dev (Rev. 10412)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'tst.prg'...
Lines 1, Functions/Procedures 1
Generating C source output to 'tst.c'... Done.
gcc: usr/lib/harbour/libharbour.so: Aucun fichier ou répertoire de ce type
hbmk: Error: Running C compiler. 256: 'gcc tst.c -O3 -otst
-I/usr/bin/../include/harbour -L/usr/bin/../lib/harbour -L/usr/X11R6/lib
-Wl,--start-group usr/lib/harbour/libharbour.so -lhbcplr -lhbdebug -lm
-ldl -lrt -lncurses -lX11 -Wl,--end-group'
Thanks,
Guy
vszak...@users.sourceforge.net a écrit :
Revision: 10411
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10411&view=rev
Author: vszakats
Date: 2009-02-23 13:53:42 +0000 (Mon, 23 Feb 2009)
Log Message:
-----------
2009-02-23 14:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
! Fixed bug which made gtwvt the default GT for mingw.
! Fixed to create final exe in current dir if no output
filename was specified and the first input file
contained a path.
* Changed to use version-less harbour shared lib names
on *nixes.
! Fixed to pass full path with harbour.so to gcc.
(even when Harbour isn't run from a system location)
! Fixed compilation/linking/cleanup if an input file
wasn't in current dir.
* Temp stub file is now created in system default temp dir,
instead of the current one.
+ Harbour shared lib path is normalized when Harbour
is found on system locations. (so '*/bin/../lib/' becomes
'*/lib')
* Better I hope handling of .so/.dylib/.sl/.dll files passed
on the command line.
* bin/hb-mkdll.bat
! Fixed typo in Borland MT .dll name.
! Fixed to not include maindll.obj, maindllp.obj in
Borland .dlls.
* Minor formatting and cleanup on internal names.
+ Added checking for source lib existence, showing
message if not found.
+ Better user feedback.
* bin/postinst.bat
+ Added running hb_mkdll.bat at the end of the build
process. For now users have to use 'set HB_DLL=yes'
to enable this features. It's experimental yet,
see previous comments.
* source/vm/Makefile
+ Now generating hbmainstd and hbmainwin for remaining
(non-mingw and non-mingwce) compilers. MSVC and BCC
need this for -shared linkage, I'm not sure about the
rest, anyhow we can disable it for other compilers
if it isn't needed in future.
* bin/hb-func.sh
% Refined hbmkcfg.hbp setup to better detect conditions.
* contrib/hbcurl/hbcurl.c
! Pacified this only one new gcc 4.3.3 warning.
* config/win/gcc.cf
* config/win/mingw.cf
+ Added -mtune=pentiumpro gcc optimization.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/bin/hb-func.sh
trunk/harbour/bin/hb-mkdll.bat
trunk/harbour/bin/postinst.bat
trunk/harbour/config/win/gcc.cf
trunk/harbour/config/win/mingw.cf
trunk/harbour/contrib/hbcurl/hbcurl.c
trunk/harbour/source/vm/Makefile
trunk/harbour/utils/hbmk2/hbmk2.prg
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
--
Guy Roussin
UMR TETIS "Territoires, Environnement, Teledetection et Information Spatiale"
Maison de la Télédétection en Languedoc Roussillon
500, rue J.F. Breton
34093 MONTPELLIER Cedex 5
tél: 04.67.54.87.46 fax: 04.67.54.87.00
mailto:guy.rous...@teledetection.fr
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour