Link to home
Start Free TrialLog in
Avatar of mtnr
mtnr

asked on

Your opinions please: how to produce standalone exe file for win32 & linux?

(My apologies if this is too general or too easy to be of great interest...)

Say you wanted to make a small, simple program that fulfilled the following criteria:

1. Must be able to distribute as a standalone exe file (it can NOT rely on the user having any library or frameworks).

2. Must be able to run on win32 AND Linux (it CAN have two different exe files, one for win, one for linux)

3. Is a window-style program, not console. That is, has buttons, allows user input, returns result to user.

How would you go about it?
What language, IDE, etc would you use?
What example source code is available?

Specifics greatly appreciated.

Thank you.


ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LudvikJerabek
LudvikJerabek

I definitely agree that QT is the way to go for a static binary without need for a JVM.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forgot to say:
http://www.vegachess.com/screenshots.htm
is a very good example of a Win32/Linux GUI program built with Ultimate++
(I like chess :) )

Enrico
go with QT opensource edition (free) or Turbo Delphi (free).

both are excellent tools with no beholding to Microsoft.  

lots of example code is available for c/c++ but also for Delphi.