This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Using newlib in simulators
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: 'Rosière mathieu' <mathieu dot rosiere at lip6 dot fr>
- Cc: <newlib at sources dot redhat dot com>
- Date: Fri, 16 Jun 2006 18:29:09 +0100
- Subject: RE: Using newlib in simulators
On 16 June 2006 18:34, Rosière mathieu wrote:
> alright,
> The OS contents the filesytem. With the program running in the
> simulator, i want access at the filesystem.
>
> Also, i have a bridge between the simulator and the Os.
>
> The functionnement is :
> in fonction "open", i write the parameter in the bridge and the number
> of service. The bridge interpret the service and run the command with
> the same parameters.
>
> The problem is that newlib and my Operating system have not the same
> signification for the flags macro.
As, I understand now. Well, your bridge could translate the parameters. It
would also probably work just fine to change the definitions in newlib and
rebuild it to save you the effort of translating them, but it's not a robust
solution.
cheers,
DaveK
--
Can't think of a witty .sigline today....