LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
    Date: Mon May 23 13:05:59 CEST 2005
    Subject: [openrisc] using stdio.h functions with or1ksim
    Top
    > Those undefined functions are part of newlib's OS interface
    > (http://sources.redhat.com/newlib/libc.html#SEC196) and should be
    > implemented in a platform specific subdirectory of the 'libgloss'
    > directory (http://sources.redhat.com/newlib/faq.html#q6). I don't see
    > that platform specific directory in the OpenRISC port, neither the
    > 'configure.host' file specifies a suitable directory. Newlib provides a
    > 'fake' implementation in 'libgloss/libnosys' of those symbols, but seems
    > that it's not linked automatically.
    >
    > Anyway, even if those functions are implemented ( using 'l.sys'
    > instructions), this does not solve my problem (see below).

    Sorry, I'm not clued up about the newlib port so I don't know what is and what's
    not implemented.

    > Sorry, i was referring to the emulation different system calls
    > defined in the 'unistd.h' header file ( __NR_exit, __NR_fork, __NR_read,
    > __NR_write, ...), not to the emulation of the 'l.sys' instruction.

    Nothing of this sort is done (at present).

    > So, is it possible to do something like this in or1ksim?

    Everything's possible as long as you are willing to do the work. If you decide
    to implement it I'll give all the support I can.

    nog.

    ReferenceAuthor
    [openrisc] using stdio.h functions with or1ksimAitor Garay-Romero

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.