This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Stdio redirection?
- To: "Russ.Shaw" <russell at webaxs dot net>
- Subject: Re: Stdio redirection?
- From: Aklilu Noah <naklilu at gpu dot srv dot ualberta dot ca>
- Date: Tue, 3 Oct 2000 23:47:02 -0600 (MDT)
- cc: newlib at sources dot redhat dot com, crossgcc at sourceware dot cygnus dot com
I use my own linker scripts so there is little chance of that happening.
If you installed a board support package, then it should come with
code for these support functions as well as a linker script.
Noah.
On Wed, 4 Oct 2000, Russ.Shaw wrote:
>
> Hi,
>
> Won't the linker complain that there's multiple functions of
> the same name?
>
> Noah Aklilu wrote:
> >
> > You can link them in as you are compiling your program. For
> > example all my support functions are in an "ar" library gizmo.a that
> > I link in whenever I compile any program for my platform. The linker
> > takes care of the rest.
> >
> > Noah.
> >
> > On 3 Oct 2000, at 8:56, Russ.Shaw wrote:
> >
> > > Hi,
> > >
> > > Thanks, that's the same as in the manual i've got.
> > >
> > > Those instructions list a bunch of functions such
> > > as read(), write(), sbrk() etc, but doesn't say
> > > where to put these functions, how they overide
> > > the existing ones, whether they should be
> > > included in a rebuild of newlib etc.
> > >
>
> --
> *******************************************
> * Russell Shaw, B.Eng, M.Eng(Research) *
> * email: russell@webaxs.net *
> * Victoria, 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
>
Noah Aklilu
aklilu@nyquist.ee.ualberta.ca
http://www.ee.ualberta.ca/~aklilu/
"Integrity is something you do when no one is looking"