[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to produce cross-platform exe file?



On Sun, Mar 8, 2009 at 8:56 PM, Eduardo M KALINOWSKI
<eduardo@kalinowski.com.br> wrote:
> Star Liu wrote:
>> My target is to make cross-platform desktop application by gecko, now
>> I have prepared a sample program, all the files are in a folder named
>> myapp.
>> In linux system, I can launch the app by this commmand: xulrunner-1.9
>> /root/MyLife/Mozilla/myapp/application.ini
>> In windows system, I can launch the app by this command: xulrunner.exe
>> e:/myapp/application.ini
>> I want to make a exe file, so that by double clicking the exe file,
>> users can launch the app, I hope a same exe file can do it on both
>> windows and linux systems, and I also hope the exe file will display
>> as a selected icon.
>> How could I reach it? thanks.
>
> You really can't have one executable that runs on Windows and Linux. The
> file formats are different and not compatible.

i think it's possible, for the main part of my app are made by XUL and
run by xulrunner, it can run on both linux and windows as described
above, what i need my exe to do is just to enter the xulrunner, as
simple as a command line, so I'm trying to reach it.

mono nearly has reached it, but there is something wrong with my
debian box, which makes my mono exe file can only be run by command
line, but by double click.

then i tried gtk, but i guess it will be a big problem to deploy gtk
libs to windows, though it works fine with linux.

>
> --
> A lot of people I know believe in positive thinking, and so do I.  I
> believe everything positively stinks.
>                -- Lew Col
>
> Eduardo M KALINOWSKI
> eduardo@kalinowski.com.br
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


Reply to: