Thread: [Dev-C++] HELP: in MSW testing program for Linux
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: RUDOLPH <ku...@sp...> - 2004-01-19 00:16:11
|
New year greeting to u all! Has anyone able to complied program using DevC++ in MS windows, and use or test it into other OS like linux ? Thank you in advance. Rudy |
|
From: Michael C U. <mu...@cb...> - 2004-01-19 00:40:16
|
What do you mean? Basically, you can't, unless you use WINE or some other emulator in Linux to run the program. DevC++ works with MinGW, which generated machine code for MS Windows. It won't run on Linux. To make the program run on Linux, you would have to recompile it using GCC on Linux, which may or may not be an easy task depending on whether the source code in question uses the Windows API. Mike On Mon, 19 Jan 2004, RUDOLPH wrote: > New year greeting to u all! > > Has anyone able to complied program using > DevC++ in MS windows, and use or test it into > other OS like linux ? > > Thank you in advance. > Rudy > |
|
From: RUDOLPH <ku...@sp...> - 2004-01-20 00:53:31
|
Hello Michael, Thank you your reply. What I was thinking about was to compliing a source code after the designing stage in w95 platform and then complie the same source code in another miniLinux computer with Devc++ or Gnu complier. Your answer have been helpful. Kind regards ----- Original Message ----- From: "Michael C Urban" <mu...@cb...> To: "RUDOLPH" <ku...@sp...> Cc: <dev...@li...> Sent: Monday, January 19, 2004 12:37 AM Subject: Re: [Dev-C++] HELP: in MSW testing program for Linux > What do you mean? > > Basically, you can't, unless you use WINE or some other emulator in Linux > to run the program. DevC++ works with MinGW, which generated machine code > for MS Windows. It won't run on Linux. > > To make the program run on Linux, you would have to recompile it using > GCC on Linux, which may or may not be an easy task depending on whether > the source code in question uses the Windows API. > > Mike > > On Mon, 19 Jan 2004, RUDOLPH wrote: > > > New year greeting to u all! > > > > Has anyone able to complied program using > > DevC++ in MS windows, and use or test it into > > other OS like linux ? > > > > Thank you in advance. > > Rudy > > > |
|
From: David M. <ci...@ya...> - 2004-01-21 04:04:36
|
You seek what is known as a cross-compiler. The most popular compiler for this purpose is gcc/g++ as it is already ported to almost every major system. Unfortunately I am not very familiar with this, If I am developing for a particular system I get that system to do my developement on. Maybe do a search on google will turn up some articles on cross compiling. --- RUDOLPH <ku...@sp...> wrote: > New year greeting to u all! > > Has anyone able to complied program using > DevC++ in MS windows, and use or test it into > other OS like linux ? > > Thank you in advance. > Rudy > ===== Signed David Mcken Life Sucks Live with it __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |
|
From: Maya <Esc...@ne...> - 2004-01-23 04:07:37
|
To me the name GCC is synonymous with EVERY_WHERE. You can very easily say: "This code has to compile not only in this machine and that one, but EVERY WHERE!"; meaning that you want this code to be GCC compliant. There is no doubt, GCC is portable to... all common / feasible machines out there. I have use most of the C/C++ compilers in the market, MS or Borland for their speed and the others for the heck of it, but I have come to accept that clients don't care about waiting 2 or 3 nanoseconds, but get really P.O. when I tell them that the project would have to be extended for another 2 or 3 weeks due to code incompatibility. No doubt, GCC *is* the way! For future reference, I cannot say that it was my idea to use GCC, that credit goes to one of my kids. ci...@ya... wrote: >You seek what is known as a cross-compiler. The most popular compiler >for this purpose is gcc/g++ as it is already ported to almost every >major system. > >Unfortunately I am not very familiar with this, If I am developing >for a particular system I get that system to do my developement on. > >Maybe do a search on google will turn up some articles on cross >compiling. > >--- RUDOLPH <ku...@sp...> wrote: > > >>New year greeting to u all! >> >>Has anyone able to complied program using >>DevC++ in MS windows, and use or test it into >>other OS like linux ? >> >>Thank you in advance. >>Rudy >> >> >> > > >===== >Signed >David Mcken > >Life Sucks >Live with it > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > -- FYI http://www.astro.umd.edu/~marshall/abbrev.html E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html * You cannot exercise your power to a point of humiliation. - Jean Chretien * The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. - Malcom X * "Innocent until proven guilty", no... not in Canada!! |
|
From: RUDOLPH <ku...@sp...> - 2004-01-21 20:23:42
|
Hi Maya, You have been a great help, thank u for sharing your insight. No snow over here in uk yet, I like your picture of the car. Kind regards, Rudolph :-) ----- Original Message ----- From: "Maya" <Esc...@ne...> To: <ku...@sp...> Sent: Tuesday, January 20, 2004 8:26 PM Subject: Re: [Dev-C++] HELP: in MSW testing program for Linux > Hi to you too my friend! > Things are very good here in Canada, finally! Thought it had been too > warm for our liking, 1 or 2 degrees Celsius. Christmas was a green one, > no snow what so ever >:( But things are getting much better now. It was > -32 Celsius the other night and snow keeps on coming down, hooo hooo! > Attached is a picture that might help understand what I am talking about. > > Now to your question. > Look, the standard [STD] C/C++ guaranties that what ever compiles in > SUN OS, will compile in AIX, LINUX, MAC, DOS and even MSW. However, if > you use a tool that is not part of the STD, you have to make sure that > this tool is also available under the platform that you're porting to. > Here is a good example. > Nature has given us a set of standards; hair, nails, a protective layer > of fat and so on, right? but in the UK you have added a tool for the > winter, namely a winter coat. Now, if you have to "port" yourself to > Canada, you will also need that tool here, but the winter tool that you > use in the UK will not do you much good in Canada, so, before porting > yourself to Canada, the tools that are not part of nature's STDs must > also be ported to be compliant to the Canadian environment. > I hope this helps you... > > Hava a good one, eh! > > > ku...@sp... wrote: > > > New year greeting to u all! > > > > Has anyone able to complied program using > > DevC++ in MS windows, and use or test it into > > other OS like linux ? > > > > Thank you in advance. > > Rudy > > > -- > > FYI > http://www.astro.umd.edu/~marshall/abbrev.html > > E-Mail Policy > http://www.vif.com/users/escalante/Email_Policy.html > > * You cannot exercise your power to a point of humiliation. > - Jean Chretien > > * The media's the most powerful entity on earth. They have the > power to make the innocent guilty and to make the guilty > innocent, and that's power. > - Malcom X > * "Innocent until proven guilty", no... not in Canada!! > > ---------------------------------------------------------------------------- ---- |