Build win32 executables in Arch
Hi Forum
I have made a Finite elements package for Linux, it compiles with gcc, it is about 1Mb size, it is a console application that solves structural problems involving beams cables and bars ( trusses ) . Does not need X support, it will read a file <myprob>.dat and return a <myprob>.res. Nothing too complex really... This links with library fuctions from arpack, spooles, lapack... that's all. I wish to know wether i can build an executable for win32 using this same source code in Arch. I want to give this application i made to a dude that is too "chicken scared" to shift for Linux... I even showed him an Ubuntu LiveDVD, and did not convince him... How do I make him be a Slacker, or an Archer.... ? :D I remember from my Debian ( or was it plain Ubuntu... do not remember exactly ) days there was a thingie called mingw32-gcc that did the job allright ( at least for console applications ) never tried the trick for windowing applications with mingw32.... don't think it is possible anyway... :( Well 1.) Does Arch has the mingw32-gcc thingie ? 2.) Does the mingw32-gcc thingie requires 32bits environment, or compatibility libraries... ? My other choice will be intsll some dev-C compiler in a WinXP box and build the thing there... :( But from my experience mingw32-gcc compiled libs/execs are way much faster than the same things created in dev-C compiler in W$.... BRGDS Alex |
|
2 issues all tangled up here---easy one first:
Quote:
To compile something to run on Windows, you have to set up an environment with all the right headers and other junk (just as you did on Arch), and then----compile. I am not a programmer, so you can bet that I've over-simplified it a bit.....;) |
Hi @pixellany, @reed9
Thx Quote:
BRGDS Alex Yu do not take a Muslim to the Vatican to salute the Pope... :) |
All times are GMT -5. The time now is 02:55 PM. |