aakash berde wrote:
> Hi All,
> 
> I am new to this forum as well as to Solaris... :-)
> Can I get some answers for my questions?
> 
> *can we use the GNU C library for solaris OS and if yes where I can get 
> the GNU C library package?*

It has been known to work but I HIGHLY recommend NOT doing so.  You 
should use the Solaris libc for running applications on Solaris.

> I am trying to port one code from linux to solaris. In linux gnu c 
> library is going to use but is solrais OS  AT&T C library is going to 
> use which created many errors while compiling the source code.

Part of porting is fixing those differences.  Solaris doesn't have an 
AT&C C library it has the Solaris libc which while it may originally 
have come from a SVR4 world rather than an BSD or GNU world it is the 
Solaris libc and is *very* tightly bound to the Solaris kernel.

> *Basically I need the equivalent header files for mqueue.h signal.h, 
> ioctl.h, fcntl.h which can exactly replace the solaris header files from 
> AT&T C library.
> Please tell me is it possible?*

Possible but not as simple as replacing a bunch of header files and 
linking to a different libc (you would have to port the GNU C lib to the 
relevant Solaris release first) but highly risky and not something I'd 
recommend.

> In linux the above files are the GNU C library part whereas in solaris 
> they are under AT&T systems.

Huh ?

/usr/include includes all those headers you asked for.


-- 
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to