| Eclipse CDT Linux makefile [message #226199] |
Sun, 02 November 2008 05:27  |
Eclipse User |
|
|
|
Hello,
I hope somebody could help me. I have developed a huge C++ research
project consisting of more than one hundred source(.h, .cpp) files with
the necessary folder hierarchies (on Ubuntu 8.04, Eclipse 3.4.1, CDT
5.0.1). The compilation/building process was managed by eclipse. Right
now, I need to move my src files to some other Linux machine(Fedora) and
compile them from command line.
To install programs on linux what we do is using the configure, make, make
install utility. I know that these files/scripts are generated by GNU
autotools. However even though I tried to use autotools I could not be
successful.
I would like to ask;
1) How CDT users move their projects to other systems and make them
executable (Assuming only linux systems and command line tools)
2) Is there any tool that automatically creates a makefile given the src
folder?
3) How can I make eclipse to generate a makefile for my project?
4) How can I integrate autotools to CDT? So that I can use the configure
utility.
I really do appreciate if you could answer my questions, give some links
to check, give some ideas, or lead to somewhere else...
Peace
Engin
|
|
|
| Re: Eclipse CDT Linux makefile [message #226216 is a reply to message #226199] |
Sun, 02 November 2008 12:56   |
Eclipse User |
|
|
|
Originally posted by: subs._nospam_consertum.com
Engin wrote:
> Hello,
>
> I hope somebody could help me. I have developed a huge C++ research
> project consisting of more than one hundred source(.h, .cpp) files with
> the necessary folder hierarchies (on Ubuntu 8.04, Eclipse 3.4.1, CDT
> 5.0.1). The compilation/building process was managed by eclipse. Right
> now, I need to move my src files to some other Linux machine(Fedora) and
> compile them from command line.
>
> To install programs on linux what we do is using the configure, make,
> make install utility. I know that these files/scripts are generated by
> GNU autotools. However even though I tried to use autotools I could not
> be successful.
>
> I would like to ask;
> 1) How CDT users move their projects to other systems and make them
> executable (Assuming only linux systems and command line tools)
To move files, you would either Export them, or use a source code
control system to manage the files.
> 2) Is there any tool that automatically creates a makefile given the src
> folder?
Yes, Eclipse!
> 3) How can I make eclipse to generate a makefile for my project?
If it is a managed make project, it creates it automatically for you.
Look for the Makefile and *.mak files - normally in you Debug or Release
directory. Not you would have to a built your project at least once
before it will create the Makefiles.
> 4) How can I integrate autotools to CDT? So that I can use the configure
> utility.
>
> I really do appreciate if you could answer my questions, give some links
> to check, give some ideas, or lead to somewhere else...
>
> Peace
> Engin
>
--
Derek
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25109 seconds