* Re: How to link in <string.h> object file?
[not found] ` <14726.25455.163000.360698@nokia.com>
@ 2000-07-31 23:40 ` Russ.Shaw
2000-08-01 6:43 ` Matthew Majka
0 siblings, 1 reply; 3+ messages in thread
From: Russ.Shaw @ 2000-07-31 23:40 UTC (permalink / raw)
To: crossgcc
Hi all,
I figured that the files in:
/usr/local/h8300-hms/lib are what i need to link:
libc.a
libg.a
libm.a
libgcc.a
libiberty.a
Is there stated somewhere what functions are contained in
what libraries? What does libiberty.a contain?
Also, when i linked in one of these libraries in my makefile,
i got lots of errors referring to linker script sections,
probably because i'm using my own script without ctor or
dtor etc. I assume one is supposed to use one of these:
/usr/local/h8300-hms/lib/ldscripts/h8300h.x
h8300h.xbn
h8300h.xn
h8300h.xr
h8300h.xu
I'm using my own system with eproms etc, so would it be
ok to just use a modified one of these scripts to fix
the errors?
Darin Johnson wrote:
>
> You need the Gnu C library, which may not be included with
> the compiler. It's in the "glibc" directory at GNU ftp sites.
> (check out the readme files, as newer version may no support
> as many types of machines as they used to)
--
*******************************************
* Russell Shaw, B.Eng, M.Eng(Research) *
* email: russell@webaxs.net *
* Australia *
*******************************************
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to link in <string.h> object file?
2000-07-31 23:40 ` How to link in <string.h> object file? Russ.Shaw
@ 2000-08-01 6:43 ` Matthew Majka
0 siblings, 0 replies; 3+ messages in thread
From: Matthew Majka @ 2000-08-01 6:43 UTC (permalink / raw)
To: Russ.Shaw, crossgcc
----- Original Message -----
From: Russ.Shaw <russell@webaxs.net>
To: <crossgcc@sourceware.cygnus.com>
Sent: Tuesday, August 01, 2000 1:41 AM
Subject: Re: How to link in <string.h> object file?
> Hi all,
>
> I figured that the files in:
>
> /usr/local/h8300-hms/lib are what i need to link:
>
> libc.a
> libg.a
> libm.a
> libgcc.a
> libiberty.a
>
> Is there stated somewhere what functions are contained in
> what libraries? What does libiberty.a contain?
Try 'nm libxxxx.a'.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* How to link in <string.h> object file?
2000-07-26 6:28 error in building arm-elf gcc Jun Wu
@ 2000-07-31 21:30 ` Russ.Shaw
0 siblings, 0 replies; 3+ messages in thread
From: Russ.Shaw @ 2000-07-31 21:30 UTC (permalink / raw)
To: egcs; +Cc: crossgcc
Hi all,
I'm using gcc as a cross compiler, configured for the
hitachi H8/300H core.
In my program, i #include<string.h> and that works ok.
However, where do i get the object file that contains
these library functions? The gcc was built using newlib.
--
*******************************************
* Russell Shaw, B.Eng, M.Eng(Research) *
* email: russell@webaxs.net *
* Australia *
*******************************************
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-08-01 6:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <398652CC.49D08980@webaxs.net>
[not found] ` <14726.25455.163000.360698@nokia.com>
2000-07-31 23:40 ` How to link in <string.h> object file? Russ.Shaw
2000-08-01 6:43 ` Matthew Majka
2000-07-26 6:28 error in building arm-elf gcc Jun Wu
2000-07-31 21:30 ` How to link in <string.h> object file? Russ.Shaw
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).