Compilation of code for both StrongArm and Win32

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hansen

    Compilation of code for both StrongArm and Win32

    Hi,

    I'm writting an application for a StrongArm target, that is able to run on a
    win32 simulator. I'm need to write to the serial port and would like to use
    open(), ioctl() and so on without having to use ifdef's for win32 (and then
    use _open() etc.)

    I'm looking for some sort of wrapper that wraps the win32 api with the
    matching POSIX function definitions.

    Is it possible and which library could do that? I was wondering if maybe
    MinGW, Cygwin, Uwin or something else could do the trick?

    Best Regards
    Søren


  • Victor Bazarov

    #2
    Re: Compilation of code for both StrongArm and Win32

    Hansen wrote:
    I'm writting an application for a StrongArm target, that is able to
    run on a win32 simulator. I'm need to write to the serial port and
    would like to use open(), ioctl() and so on without having to use
    ifdef's for win32 (and then use _open() etc.)
    >
    I'm looking for some sort of wrapper that wraps the win32 api with the
    matching POSIX function definitions.
    >
    Is it possible and which library could do that? I was wondering if
    maybe MinGW, Cygwin, Uwin or something else could do the trick?
    You should try asking in a Windows programming newsgroup. This does
    not seem to be a C++ language problem since accessing hardware is not
    defined in the language, it's a platform thing.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask


    Comment

    Working...