Thread: [Dev-C++] Convert Makefile to Dev-C++ project
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Kieran W. <Ki...@ce...> - 2003-03-20 12:30:01
|
Hi, Are there any tools/utilities/packages that will convert a Makefile = (using gcc) into a Dev-C++ project? Or does anyone know of some good documentation that would guide you = through it. Thanks Kieran The contents of this e-mail are confidential to the ordinary user of the = e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, = disclose or otherwise use it or any part of it in any form whatsoever. =20 If you have received this e-mail in error please report it to the = postmaster at <mailto:in...@ce...> Any views held by employees in this message do not necessarily represent = the views and opinions of CENDRIS Limited. |
|
From: Luigi S. <gi...@li...> - 2003-03-21 06:41:49
|
On Thu, Mar 20, 2003 at 12:03:33PM -0000, Kieran Walshe wrote: > Hi, > > Are there any tools/utilities/packages that will convert a Makefile (using gcc) into a Dev-C++ project? > > Or does anyone know of some good documentation that would guide you through it. > > Thanks > > Kieran > Hello, Kieran there seems to be no such tool (yet), but why do you need one? IMHO, the idea behind 'projects' is to have user not deal with makefile directly, instead Dev-C++ will use information written in the project to write the makefile for you. So if you already have the makefile, just use Make to compile your program and forget about the project :-) However, if you wish to manually "convert" the makefile, you could: - open Dev-C++ and create an empty project - open the makefile in the editor - add to the empty project, any source file whose name is found in the makefile > > > The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. > If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. > If you have received this e-mail in error please report it to the postmaster at <mailto:in...@ce...> > Any views held by employees in this message do not necessarily represent the views and opinions of CENDRIS Limited. > Please try to avoid using mail servers which add messages like the above to your mails, they sound harassing to me :-) ... I'm not the addressee but am using part of it, I hope, to help you, should I report it to the postmaster? ;-) -- >> gisan >> |
|
From: Louis G. <lg...@ya...> - 2003-03-21 15:06:42
|
Hi list, This is an important topic for those of us that want to port GNU source code to DevC++. GNU source code is made to compile under gcc compilers. And all GNU source uses makefiles. But I for one spend enormous amounts of time trying to get GNU code to compile under DevCpp. And the problem is almost always the GNU makefile. If you try to ignore the GNU makefile and load the source files into a DevC++ progect, then compile, you get tons of compile and link errors. For example, try to compile the GNU UNSHAR code (which is a simple code with a complex makefile). The person asking this question, and I'm sure many other DevC++ users, need a practical tool or solution to this makefile problem. I'm also sure that any help, advice etc. would be greatly appreciated by these users. --- Luigi Santillo <gi...@li...> wrote: > On Thu, Mar 20, 2003 at 12:03:33PM -0000, Kieran Walshe wrote: > > Hi, > > > > Are there any tools/utilities/packages that will convert a Makefile > (using gcc) into a Dev-C++ project? > > > > Or does anyone know of some good documentation that would guide you > through it. > > > > Thanks > > > > Kieran > > > > Hello, Kieran > there seems to be no such tool (yet), but why do you need one? > IMHO, the idea behind 'projects' is to have user not deal with > makefile directly, instead Dev-C++ will use information written in the > project to write the makefile for you. So if you already have the > makefile, > just use Make to compile your program and forget about the project :-) > > However, if you wish to manually "convert" the makefile, you could: > - open Dev-C++ and create an empty project > - open the makefile in the editor > - add to the empty project, any source file whose name is found in the > makefile > > > > > > The contents of this e-mail are confidential to the ordinary user of > the e-mail address to which it was addressed and may also be privileged. > > If you are not the addressee of this e-mail you may not copy, forward, > disclose or otherwise use it or any part of it in any form whatsoever. > > If you have received this e-mail in error please report it to the > postmaster at <mailto:in...@ce...> > > Any views held by employees in this message do not necessarily > represent the views and opinions of CENDRIS Limited. > > > Please try to avoid using mail servers which add messages like the above > to your mails, they sound harassing to me :-) ... I'm not the addressee > but > am using part of it, I hope, to help you, should I report it to the > postmaster? ;-) > > -- > >> gisan >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: Tablet PC. > Does your code think in ink? You could win a Tablet PC. > Get a free Tablet PC hat just for playing. What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |
|
From: Daniel K. O. <dan...@ya...> - 2003-03-21 16:07:43
|
If you want to do it with minimum effort, you can try Cygwin - almost an entire OS, so you'll probably just need to type './configure' and 'make'. Even with MSYS you can compile most of them like this. I compiled many GNU programs under Windows with Dev-Cpp, the task is simple: 1- Create a project 2- Add the files 3- Look at the Makefile for the * CFLAGS/CCFLAGS/CwhateverFLAGS/every-compiler-switch and add them to Compiler Options * LDFLAGS/LIBS/whatever-that-seems-like-linker-options and add them to Linker Options 4- If the sources need a config.h file, and you can't run the ./configure script, look for a "acconfig.h" (or any "*config.h") that came with the sources (or you can search on Google for one) and edit the #define's properly. Rename it to "config.h" and include it in your project. I don't think I would ever need a tool to convert it to a dev's project file; I just need 1- some clicks (create a project) 2- some more clicks (Add File -> Ctrl+A -> Open) 3- copy/paste from Makefile to Dev 4- a few key-hits (F2, "acconfig.h" -> "config.h", Add file..., edit it a little) Daniel K. O. It's OK to be ignorant; it's not OK to play stupid. http://www.catb.org/~esr/faqs/smart-questions.html > -----Mensagem original----- > De: dev...@li... > [mailto:dev...@li...]Em nome de Louis Godio > Enviada em: sexta-feira, 21 de março de 2003 12:07 > Para: gi...@li...; dev...@li... > Assunto: Re: [Dev-C++] Convert Makefile to Dev-C++ project > > > Hi list, > This is an important topic for those of us that want to > port GNU source code to DevC++. > > GNU source code is made to compile under gcc compilers. > And all GNU source uses makefiles. But I for one spend enormous > amounts of > time trying to get GNU code to compile under DevCpp. And the problem is > almost always the GNU makefile. > > If you try to ignore the GNU makefile and load the source files into > a DevC++ progect, then compile, you get tons of compile and link errors. > For example, try to compile the GNU UNSHAR code (which is a simple code > with a complex makefile). > > The person asking this question, and I'm sure many other DevC++ users, > need a practical tool or solution to this makefile problem. > I'm also sure that any help, advice etc. would be greatly appreciated by > these users. |