On Mon, 02 Feb 2009, Maurilio Longo wrote:

Hi Maurilio,

> > You have to enable compilation with relocatable code, f.e. use -fPIC or 
> > -fpic
> > flag in C_USR. But I do not know it it's enough for OpenSolaris. The last
> > tests I made with Solaris were done over two years ago.
> Ok, tonight I'll try and report.

You can also try make_gcc.sh
It makes two passes for Harbour compilation. The second one enables
settings necessary for shared libraries though I have never tried to
use it with OpenSolaris so I cannot say if it works.
It also supports -j<n> switch.

If you can then please also commit the modifications you made for
OpenSolaris compilation or send 'svn diff' results here.

> BTW, make -jn nearly halves build time on my centrino duo (T5500 1.6GHz)
> laptop on which I have opensolaris!

For two CPU machine -j3 seems to give the best performance.
It will be also good to check how OS2 builds work now. It's possible
that it's broken by new config/dir.cf code just like pure DOS builds
where recursive make calls with -C <dir> does not work for nested
directories and only the 1-st level works. At least it behaves in
such way in DOSEMU where I tested it. Today I'll make some tests on
Windows with and without MSys.
Current GNU Makefile code uses some extended make functions to process
text so it will not work with some very old GNU makes.
If possible please try to recompile current Harbour SVN code on OS2.

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

Reply via email to