Hi Maurilio,
Viktor,
Default structure is:
- <HB_INSTALL_PREFIX>/bin
- <HB_INSTALL_PREFIX>/lib/os2/gcc
Why not simply <HB_INSTALL_PREFIX>/lib given that /bin does not have
an
architecture/compiler subdirs?
It allows for cross compilation and allows seamless
multicompiler support.
Probably sooner or later bin will also get plat/comp in
install phase (it already has it in build phase), but this
scenario is less widely used yet, so for many ppl it may
turn out to be an inconvenience ATM. Probably win32 vs. win64
will cut the chase here. I'll think about it, maybe next
unified build will use this method. (BTW this is also a
prerequisite to support OS/2 .dlls in "unified" build.)
BTW all above lib and bin placements are already handled
transparently by hbmk2, so users shouldn't really worry
about it.
What about testing HB_INSTALL_PREFIX_ORI inside postinst.cmd to see
if it has
been set to somethin by the user?
That would smell a little hacky to me, _ORI is an internal variable
and I wouldn't like to guarantee it's content or presence for the
future.
To be in sync with GNU Make to solve the same problem IMO easiest
would be to use os2cp in postinst too. (if there isn't any native
way to silence copy operation in OS/2 shell).
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour