Porting the "libc.c" library

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Collin

Porting the "libc.c" library

Post by Collin »

Hello,
I wish to port the libc.a standard C library from Linux
to my own personal OS. I was wondering how one would go
about porting such a file (in general). Thanks to
anyone who can help.

Collin
Collin

RE:Porting the "libc.c" library [mistake]

Post by Collin »

>On 2001-02-17 16:28:49, Collin wrote:
>Hello,
>I wish to port the libc.a standard C library from Linux

>to my own personal OS. I was wondering how one would go
>about porting such a file (in general). Thanks to
>anyone who can help.
>
>Collin
Sorry, that should be "libc.a"
Nick

RE:Porting the "libc.c" library [mistake]

Post by Nick »

>On 2001-02-17 16:28:49, Collin wrote:
>Hello,
>I wish to port the libc.a standard C library from Linux

I assume you are referring to the GNU C Library. You can
start by reading...
http://www.gnu.org/software/libc/porting.html

...followed by reading...
http://www.gnu.org/software/libc/libc.html

...and then download the source code at...
ftp://ftp.gnu.org/gnu/glibc

...and then get coding! I've never tried porting the
library so I'm really not sure how easy/hard it will be.

Good Luck, and keep us posted as I would like to know how
successful you were.

--Nick
Nick

RE:Porting the "libc.c" library [mistake]

Post by Nick »

>On 2001-02-17 16:28:49, Collin wrote:
>Hello,
>I wish to port the libc.a standard C library from Linux

I assume you are referring to the GNU C Library. You can
start by reading...
http://www.gnu.org/software/libc/porting.html

...followed by reading...
http://www.gnu.org/software/libc/libc.html

...and then download the source code at...
ftp://ftp.gnu.org/gnu/glibc

...and then get coding! I've never tried porting the
library so I'm really not sure how easy/hard it will be.

Good Luck, and keep us posted as I would like to know how
successful you were.

--Nick
Collin

RE:Porting the "libc.c" library [mistake]

Post by Collin »

>On 2001-02-17 23:31:53, Nick wrote:
>>On 2001-02-17 16:28:49, Collin wrote:
>>Hello,
>>I wish to port the libc.a standard C library from
Linux
>
>I assume you are referring to the GNU C Library. You
can
>start by reading...
>http://www.gnu.org/software/libc/porting.html
>
>...followed by reading...
>http://www.gnu.org/software/libc/libc.html
>
>...and then download the source code at...
>ftp://ftp.gnu.org/gnu/glibc
>
>...and then get coding! I've never tried porting the
>library so I'm really not sure how easy/hard it will
be.
>
>Good Luck, and keep us posted as I would like to know
how
>successful you were.
>
>--Nick

Thanks. I've got the code, now, and I've started to
work on how to recompile and tailor it to my OS.

Collin
tOwk

RE:Porting the "libc.c" library [mistake]

Post by tOwk »

You could also search freshmeat.net for "small libc" (it's called something like that), which should probably be much easier to port (but it probably won't give you all the functionality, but you would end up much sooner with functional libc I believe).

Wish you all the best in development,
tOwk
Post Reply