From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Russ.Shaw" To: crossgcc@sourceware.cygnus.com Subject: Re: How to link in object file? Date: Mon, 31 Jul 2000 23:40:00 -0000 Message-id: <39867115.A736A6CB@webaxs.net> References: <398652CC.49D08980@webaxs.net> <14726.25455.163000.360698@nokia.com> X-SW-Source: 2000-07/msg00149.html 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