This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I'm trying to build an embedded system using a GNU tool chain on a StrongArm board (Brutus). I have no problem running under gdb as IO is handled via SWI to the Angel monitor. Reading the "porting" info pages in newlib, mentions that libgloss should be used to embed the system. I have code I can used for crt0.o and inbyte() and outbyte(), but how do I hook them into the existing newlib (libc.a) code. Do I put them into my owm libgloss.a? How does the linker choose the my crt0.o not the one in libc.a? Is where a "configure" flag I require to rebuild newlib to be used with libgloss? Ideally, I would like stdin/stdout to use a serial port, and stderr to write to the LCD. I have code that does this, I just don't know how to use it with newlib. Any hints? Mark ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |