Porting Windows program to BSD

D

drhowarddrfine

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?
 
M

MisterE

drhowarddrfine said:
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.
 
T

Tim Prince

drhowarddrfine said:
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?
 
S

Stephen Montgomery-Smith

drhowarddrfine said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top