From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Evans To: rjb@dcs.gla.ac.uk Cc: newlib@sourceware.cygnus.com, gdb@sourceware.cygnus.com, rjb@dcs.gla.ac.uk Subject: Re: Newlib, GDB Simulators, and Configurations Date: Fri, 03 Sep 1999 09:09:00 -0000 Message-id: <199909031609.JAA19210@canuck.cygnus.com.> References: <9909031320.AA29064@bathurst> X-SW-Source: 1999-q3/msg00290.html Date: Fri, 03 Sep 99 14:20:07 +0100 From: Richard Black [ resending to sourceware addresses following bounce ] There currently doesn't seem to exist any 'libc' like thing for programs which are going to be run under gdb's simulator to link against (distributed with gdb). It seems to be that using newlib would be the obvious candidate, and I'll return to you any improvements that I make. I have looked at the newlib distribution and it seems that I'd need to add into libgloss/ the "os" stuff necessary for basic reading and writing through the gdb simulator. Currently libgloss/ doesn't support the Arm at all so I will have some config hacking to do. Actually, newlib has the necessary syscall stuff for arm programs to run on the ARMulator. [It use to be the case that this stuff lived in newlib. Then, libgloss was created to hold this stuff, but the arm port of newlib hasn't been updated.] >From rjb@dcs.gla.ac.uk Fri Sep 03 09:16:00 1999 From: Richard Black To: Doug Evans Cc: rjb@dcs.gla.ac.uk, newlib@sourceware.cygnus.com, gdb@sourceware.cygnus.com, rjb@dcs.gla.ac.uk Subject: Re: Newlib, GDB Simulators, and Configurations Date: Fri, 03 Sep 1999 09:16:00 -0000 Message-id: <9909031615.AA31742@bathurst> References: <199909031609.JAA19210@canuck.cygnus.com.> X-SW-Source: 1999-q3/msg00291.html Content-length: 314 Doug, Indeed, I'm now building it and it seems to be going OK. Earlier the *** This configuration is not supported in the following subdirectories: target-libgloss (Any other directories should still work fine.) warning, plus another hidden problem were making me think otherwise. Thanks, Richard.