Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2009 17:04:57 -0700
From:      Xin LI <delphij@delphij.net>
To:        Srinivas Ganji <srinivasganji@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Is it possible to use the libthr.a file on a Redhat Linux?
Message-ID:  <49D2AFA9.7080707@delphij.net>
In-Reply-To: <fc5047010903310140u2952cfdfo27c97e9cc59a6c7b@mail.gmail.com>
References:  <fc5047010903310140u2952cfdfo27c97e9cc59a6c7b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Srinivas Ganji wrote:
> Dear All,
> 
> I have tried to use the libthr.a library for compiling an application which
> is working fine on Redhat system with libpthread library. However, I end up
> with the following errors.
> 
[...]
> My question is: Is it possible to use the FreeBSD libthr.a library on a
> Redhat Linux distribution?

I don't think so.  libthr depends on some features that only exists on
FreeBSD, like other system libraries, they wrap FreeBSD kernel
interfaces to what is more familiar to application programmers, like C
and POSIX APIs, etc.

It should be noted that it could be possible if you recompile your
application under RedHat Linux, as the upper layer of API should be more
similar.

Cheers,
- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAknSr6kACgkQi+vbBBjt66AiLACePPXunI2ApOoJ3OSLZKfpZWg2
m1sAoLPrnqOavIV0ldM1+D334JMuaQCs
=akOZ
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D2AFA9.7080707>