Page 1 of 1
Porting the "libc.c" library
Posted: Sat Feb 17, 2001 12:00 am
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
RE:Porting the "libc.c" library [mistake]
Posted: Sat Feb 17, 2001 12:00 am
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"
RE:Porting the "libc.c" library [mistake]
Posted: Sat Feb 17, 2001 12:00 am
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
RE:Porting the "libc.c" library [mistake]
Posted: Sat Feb 17, 2001 12:00 am
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
RE:Porting the "libc.c" library [mistake]
Posted: Wed Feb 21, 2001 12:00 am
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
RE:Porting the "libc.c" library [mistake]
Posted: Fri Mar 02, 2001 12:00 am
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