On Mon, 2007-04-16 at 16:32 -0700, Aaron Turner wrote:
> Ok, that explains why the issue is happening, I give priority to
> /usr/lib over /usr/lib64.  So question:
> 
> Can I assume /usr/lib64 has priority or should I do some
> AC_TRY_COMPILE[] or whatever it is to check each found lib?

Trying to compile may actually succeed by accident, like it does for me.

You can use something like gcc -print-multi-os-directory to find out
what you're building for on a multi-arch system. You have to make sure
you pass your regular flags to gcc when using this option (i.e. -m32
will make a lot of difference). This won't work unless you have GCC, of
course.

Let me try to find out if there is a reliable way to tell if the build
is 64 or 32-bit, without using the GCC magic.

-- 
Bojan


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

Reply via email to