On Mon, May 5, 2008 at 2:20 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote:
> > 1) in win hbmk -ofirst.exe first.prg > > creates first.exe.exe unlike hbcc -ofirst.exe first.c which creates > > first.exe and hb-mkslib libxyz.dll which create libxyz.dll ( not > > libxyz.dll.dll ) > > It should be fixed. I'll do that. many thanks > This is not such simple. In MS-Windows harbour.dll is required because > linker needs to know all dependeces when creates new .dll In Linux > there is no such limitation. hb-mkslib can be used also for libraries > which do not use HVM API and in such case harbour.dll will not be > required so forcing it will introduce unnecessary limitation. I'll > look at it but I cannot promise that I'll find nice solution. Please > also remember that in Windows the same will be necessary for any other > libraries your code will use not only for harbour.dll. not a big problem. I've solved it using hb-mkslib libxyz.dll libxyz.a $(DYN_HARBOUR) and $(DYN_HARBOUR) is harbour.dll under win and empty under Linux. Another solution could be add a parameter to hb-mkslib like -addhrbdll or sth else that does nothing when not used in Windows. best regards, Lorenzo > See: CC_C_USR and CC_L_USR I'll check them. > And they do that. oops, sorry. best regards, Lorenzo _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
