473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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?
Dec 27 '07 #1
5 1229

"drhowarddrfine" <ro*******@gmail.comwrote in message
news:94**********************************@d4g2000p rg.googlegroups.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.
Dec 27 '07 #2
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?
Dec 27 '07 #3
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
Dec 27 '07 #4
On Dec 26, 11:31 pm, Stephen Montgomery-Smith
<step...@math.missouri.eduwrote:
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.
Dec 27 '07 #5
On Dec 26, 11:31 pm, Stephen Montgomery-Smith
<step...@math.missouri.eduwrote:
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).
Dec 27 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Edward | last post by:
Years ago I wrote an app in VB 4.0 16 bit. The program is still selling, but the clients want to upgrade to 32 bit. Should I go for VB 4.0 32 bit, or version 5, or version 6? There is only a...
2
by: Michael Sgier | last post by:
Hello i'm trying to port a windows program to linux with Kdevelop 1.question: unsigned char *LoadBitmapFile(char *filename, BITMAPINFOHEADER *bitmapInfoHeader); ...
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
133
by: Jean-Pierre Mestre | last post by:
Good evening, I have a C software for Windows that I need to port to Redhat Unix. At the moment it works completely fine with the Windows FLOSS compiler lccwin32. I try gcc but now it doesn't...
5
by: slim9913 | last post by:
I worked on c/c++ executable file building on Windows platform before. Now, there is a need to port my c/c++ program from Windows to UNIX platform, and I have no experience in this at all. Anybody...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.