public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Yaaarrgghh - help me, please!
@ 2002-05-12  9:42 Robert Spanton
  2002-05-12 13:35 ` Michael Still
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Spanton @ 2002-05-12  9:42 UTC (permalink / raw)
  To: gcc-help

I'm trying to port the C++ libraries to my own os, yet there appears to be
one barrier. This appears to be the file called "libc.a". I have looked
around for a while to try and find out what this file actually contains and
how g++ uses it.

I did find that it is automatically linked into my code when i do compile
for my os. This is all I know.

Does anyone out there know (of a list - as there are probably loads) what
functions I need to put into my own libc.a file?

Cheers,

Robert


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Yaaarrgghh - help me, please!
  2002-05-12  9:42 Yaaarrgghh - help me, please! Robert Spanton
@ 2002-05-12 13:35 ` Michael Still
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Still @ 2002-05-12 13:35 UTC (permalink / raw)
  To: Robert Spanton; +Cc: gcc-help

On Sun, 12 May 2002, Robert Spanton wrote:

> I'm trying to port the C++ libraries to my own os, yet there appears to be
> one barrier. This appears to be the file called "libc.a". I have looked
> around for a while to try and find out what this file actually contains and
> how g++ uses it.

libc.a is the statically linkable version of your c library. This library
implements all the standard things you get for free with c and c++ -- for
instance printf, fopen, et cetera.

> Does anyone out there know (of a list - as there are probably loads) what
> functions I need to put into my own libc.a file?

Implementing this is a _big_ job. Have a hunt on the gnu.org website for
the glibc manual -- last time I checked it was something like 600 pages.

Cheers,
Mikal

-- 

Michael Still (mikal@stillhq.com)     UMT+10hrs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-12 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-12  9:42 Yaaarrgghh - help me, please! Robert Spanton
2002-05-12 13:35 ` Michael Still

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).