Porting Windows program to BSD

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

    #1

    Porting Windows program to BSD

    I have an open source Windows program I would like to port to
    FreeBSD. I tried compiling it 'as is' and, so far, it only trips up
    on MS/Windows definitions, such as 'ulong'. Is there a cross-check
    list to find equivalent typedefs, defines, etc. between gcc and
    Windows stuff? Is there a software 'converter' of sorts, too?
  • MisterE

    #2
    Re: Porting Windows program to BSD


    "drhowarddrfine " <robbelics@gmai l.comwrote in message
    news:942223d9-9406-4fc1-ae94-0df33da3ce3a@d4 g2000prg.google groups.com...
    >I have an open source Windows program I would like to port to
    FreeBSD. I tried compiling it 'as is' and, so far, it only trips up
    on MS/Windows definitions, such as 'ulong'. Is there a cross-check
    list to find equivalent typedefs, defines, etc. between gcc and
    Windows stuff? Is there a software 'converter' of sorts, too?
    Surely you can just use sizeof and work it out for yourself.


    Comment

    • Tim Prince

      #3
      Re: Porting Windows program to BSD

      drhowarddrfine wrote:
      I have an open source Windows program I would like to port to
      FreeBSD. I tried compiling it 'as is' and, so far, it only trips up
      on MS/Windows definitions, such as 'ulong'. Is there a cross-check
      list to find equivalent typedefs, defines, etc. between gcc and
      Windows stuff? Is there a software 'converter' of sorts, too?
      How about the win32api include files for Windows gcc?

      Comment

      • Stephen Montgomery-Smith

        #4
        Re: Porting Windows program to BSD

        drhowarddrfine wrote:
        I have an open source Windows program I would like to port to
        FreeBSD. I tried compiling it 'as is' and, so far, it only trips up
        on MS/Windows definitions, such as 'ulong'. Is there a cross-check
        list to find equivalent typedefs, defines, etc. between gcc and
        Windows stuff? Is there a software 'converter' of sorts, too?
        You could try asking on this mailing list:

        Comment

        • drhowarddrfine

          #5
          Re: Porting Windows program to BSD

          On Dec 26, 11:31 pm, Stephen Montgomery-Smith
          <step...@math.m issouri.eduwrot e:
          drhowarddrfine wrote:
          I have an open source Windows program I would like to port to
          FreeBSD. I tried compiling it 'as is' and, so far, it only trips up
          on MS/Windows definitions, such as 'ulong'. Is there a cross-check
          list to find equivalent typedefs, defines, etc. between gcc and
          Windows stuff? Is there a software 'converter' of sorts, too?
          >
          You could try asking on this mailing list:http://lists.freebsd.org/mailman/listinfo/freebsd-ports
          Ah, yes, Stephen. I forgot all about that. Thanks.

          Comment

          • drhowarddrfine

            #6
            Re: Porting Windows program to BSD

            On Dec 26, 11:31 pm, Stephen Montgomery-Smith
            <step...@math.m issouri.eduwrot e:
            drhowarddrfine wrote:
            I have an open source Windows program I would like to port to
            FreeBSD. I tried compiling it 'as is' and, so far, it only trips up
            on MS/Windows definitions, such as 'ulong'. Is there a cross-check
            list to find equivalent typedefs, defines, etc. between gcc and
            Windows stuff? Is there a software 'converter' of sorts, too?
            >
            You could try asking on this mailing list:http://lists.freebsd.org/mailman/listinfo/freebsd-ports
            In addition, there is the Porter's Handbook which I also forgot about
            (and even keep a copy on this computer; jeez).

            Comment

            Working...