This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Stdio redirection?



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"



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]