--- Begin Message ---
Hi Denis,

Am 03.08.2021 um 00:34 schrieb Denis Ovsienko via tcpdump-workers 
<tcpdump-workers@lists.tcpdump.org>:
> Though it is not clear why the 64-bit directories are not in PATH.

This is because you need to decide whether you want to build against the
32 or 64 bit ABI. Solaris nowadays always runs a 64 bit kernel but allows
programs and libraries to be in 32 bit, although you cannot mix 32 and 64
bit within a linked executable. Of course it would be possible to switch
the PATH to be 64 bit only on Solaris 10 but was not done due to historical
reasons. On Solaris 11 most binaries are 64 bit now but are located in
/usr/bin which makes this thing a bit convoluted.

When you try to build a 64 bit binary the correct way is to set PATH
and PKG_CONFIG_PATH as described here:
  https://www.opencsw.org/manual/for-developers/index.html

The /64 suffix in bin/ and lib/ is a symlink to the respective architecture
and simplifies cross-platform build between Sparc and x86.

I hope this helps.


Best regards

  — Dago


-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896


--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to