Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - glibc for qnx: (3 Items)
   
glibc for qnx  
I am trying to recompile the glibc-2.11.1 with some changes in the source code.
I have qnx-6.4.1 running on VMWare.
When I try to configure I get the following error.
*** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen.  So, if you have interest to see glibc on
*** this platform visit
***	http://www.gnu.org/software/libc/porting.html
*** and join the group of porters

Please let me know how can I get this done.
Is there any other C library that I can use apart from GNU C library that is ported for QNX.

Thanks n Regards

Re: glibc for qnx  
On Wed, 2010-04-07 at 07:12 -0400, Dinkar Kumar Verma wrote:
> I am trying to recompile the glibc-2.11.1 with some changes in the source code.
> I have qnx-6.4.1 running on VMWare.
> When I try to configure I get the following error.
> *** The GNU C library is currently not available for this platform.
> *** So far nobody cared to port it and if there is no volunteer it
> *** might never happen.  So, if you have interest to see glibc on
> *** this platform visit
> ***	http://www.gnu.org/software/libc/porting.html
> *** and join the group of porters
> 
> Please let me know how can I get this done.
> Is there any other C library that I can use apart from GNU C library that is ported for QNX.
> 
> Thanks n Regards

Porting a C library to a new O/S is not a small task.  Porting glibc is
an exceptionally large job (and I'm not even certain that it's
possible).  You might have more success with ulibc, newlib, or dietlibc
-- but again it's a big job and not one that we've actually tried.
Proper support for the loader (ldd) and for threads (and thread local
storage specifically) are going to be particularly tricky.  Overall, I'd
advise strongly against trying.

You might be better off just porting the bits that you need to QNX
rather than the whole libc.  What bits have you made custom changes to?
Re: glibc for qnx  
Thanks Neil.

I just want to change the BUFSIZ and recompile the entire glibc on qnx platform.
How challenging can it be??