|
From: Michael G. <mg...@te...> - 2005-01-28 23:39:33
|
> If I actually want to port my application(DLLs) on linux what will I have to do > 1. Remove any windows specific code > 2.Create makefile for the DLL, in order to build it as a "shared library" on > linux. and then compile my code and use the shared object in my EXE > > Am I correct? Yes. > Some more questions: > - Is there some kind of tool available with which I can create makefiles? Yes, actually there are many. The most commonly used one is called "Editor" ;-) Seriously wether or not it might be an option to use a tool to create your makefiles depends on the complexity of your application. One of your options would be to investigate automake/autoconf but that's only rewarded if you use that for more than a simple project. You might try to simply export a makefile from whatever environment you use on windows (IDE or not IDE). I personally am in great favor of handwritten makefiles but I'm aware there is some learning involved when doing that for complexer projects (but then there is nothing compared to handwritten makefiles for complexer projects ;-) You might also consider using SCons http://www.scons.org/ or Boost.Jam http://www.boost.org/tools/build/jam_src/index.html Best, Michael -- Vote against SPAM - see http://www.politik-digital.de/spam/ Michael Gerdau email: mg...@te... GPG-keys available on request or at public keyserver |