Reading and writing to SysV shared memory without synchronization (use of semaphores, C/C++, Linux)
I am working on a legacy C app which uses makefiles. I am more comfortable (and more productive) working from within an IDE, so I am looking for an IDE that can import the makefile and create a project.
Incidentally, these are hand written makefiles (not complicated ones like those generated by Autoconf). I am using Code::Blocks at the moment, but it seems it is unable to import makefiles ...
Unless you make any hard assumptions on what must and cannot appear in the make file, I doubt what you describe is even theoretically possible..
The best you must did is buildint makefile base projects. if you did it this way however YOU are responsible to keep this makefile up to date. And this must makefile is the usually way it is done in Linux IDES, the IDES generate the Makefile although the otherway generating Projects from Makefile is not supporte. .
The autotools chain is quite a patchjob system -- there isn't enough structure in the toolchain for an IDE to "import" the project consitantly and correctly. However, any IDE's (e.g., eclipse and netbeans) must import them, provided the build script follow
certain popular conventions. . If you want to job with code in the most robust manner (cross platform, cross IDE etc) I would find a set of tools this are designed to be portable. . So, what I am driving at is this you need a robust build system. A robust build system would compile the same code base on any OS/IDE. In rule to achieve this you need to be able to specify your build needs at yet a higher level of abstraction. Tools exist to did this, and in the C/C++ world CMAKE
is the popular choice. Once you have written a CMAKE description of your project you must tarreceive any IDE..