RE: [Dev-C++] Convert Makefile to Dev-C++ project
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2003-03-21 17:58:33
|
Note that the Visual C++ projects are using a fixed-format file, while a makefile may contain just about anything that will execute. In short, the makefile may contain constructs that are not possible to represent in the Dev-Cpp project files - and having the Dev-Cpp project just fork out a make run wouldn't be a solution if the machine isn't configured to be able to run make natively anyway. /Per W On Fri, 21 Mar 2003, Kieran Walshe wrote: > Hi Daniel, > > I think you've just explained exactly why such a utility would be useful. > > Although the Mingw and Cygwin options are both valid and in some cases mo= re desirable methods, I personally believe that it would be a useful additi= on to Dev-C++ to be able to import Makefiles. This utility could potentiall= y handle all Mingw specific compiler options automatically and address any = other platform specific requirements. > > I notice that there is a facility to import MS Visual C++ Projects. > > Also some developers would just like to download Dev-C++ and load there e= xisting projects (and/or Opensource projects (LibTiff, zlib, etc) into it. = They have already done all the work of creating their Makefile, a simple 1 = click import makefile would be useful. > > > > -----Original Message----- > > From: Daniel K. O. [mailto:dan...@ya...] > > Sent: 21 March 2003 16:07 > > To: Louis Godio; gi...@li...; dev...@li... > > Subject: RES: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > > > > > 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=E7o 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. > > > 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, di= sclose 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 postmas= ter at <mailto:in...@ce...> > Any views held by employees in this message do not necessarily represent = the views and opinions of CENDRIS Limited. > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > 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 > |