Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » automatic makefile generation
automatic makefile generation [message #75781] Tue, 15 July 2003 23:21 Go to next message
Eclipse UserFriend
I'm tired of MSVC++. I found Eclipse. I installed MinGW, Cygwin. I tought
it was over.

Then I remembered I didnt know how to write makefiles.

So I set up autoconf & automake, made simple files. I tought it was over.

When after 15 minutes, make exited and, without error messages, gave me
NOTHING (no .o, no .exe), I started thinking:

I have 74 files, heavy on the dependencies
I know nothing about make, automake or autoconf.
I can't switch to Eclipse/CDT/Cygwin/MinGW because of this

What should I do?
Is there a plug-in for me?
Is writing Makefile.am & configure.in simpler than i think?
Should I just use Dev-C++?

thanks.
Re: automatic makefile generation [message #75832 is a reply to message #75781] Wed, 16 July 2003 08:03 Go to previous messageGo to next message
Eclipse UserFriend
perplx wrote:

> I'm tired of MSVC++. I found Eclipse. I installed MinGW, Cygwin. I tought
> it was over.
>
> Then I remembered I didnt know how to write makefiles.
>
> So I set up autoconf & automake, made simple files. I tought it was over.
>
> When after 15 minutes, make exited and, without error messages, gave me
> NOTHING (no .o, no .exe), I started thinking:
>
> I have 74 files, heavy on the dependencies
> I know nothing about make, automake or autoconf.
> I can't switch to Eclipse/CDT/Cygwin/MinGW because of this
>
> What should I do?

1) Don't tell stories, give us error-messages and what you did.
2) RTFM?
There are documentation plugins for the tools of the GNU Toolchain
(binutils, make, gcc,...).
3) Read the Newsgroup (a search can be helpful to get relevant posts!)
Read the CDT-FAQ and the Wiki pages. They are made for this purpose.
4) www.google.de is another friend for getting information.

> Is there a plug-in for me?

Well, the blacksun plugin contains an Makefile Editor, even though it
doesn't consider all possibilities of GNU Make. But for a start it can help
you on the syntax of your Makefile instead of having a plain, uncolored
textfile.

> Is writing Makefile.am & configure.in simpler than i think?

I don't think, it would be easier than writing a Makefile, since you have to
learn about it too, if you don't work with it yet.

> Should I just use Dev-C++?

That is up to you. We won't force you to use Eclipse as we wouldn't force
you to use any other tool. The only thing I ('d like to) force people is
that they read the manuals.

> thanks.

No problem.
Re: automatic makefile generation [message #75849 is a reply to message #75781] Wed, 16 July 2003 08:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: infomaniac.NOSPAM.ifi.ch

perplx@hotmail.com (perplx) wrote in news:bf2gbi$6l1$1@eclipse.org:

> I'm tired of MSVC++. I found Eclipse. I installed MinGW, Cygwin. I tought
> it was over.
>
> Then I remembered I didnt know how to write makefiles.
>
> So I set up autoconf & automake, made simple files. I tought it was over.
>
> When after 15 minutes, make exited and, without error messages, gave me
> NOTHING (no .o, no .exe), I started thinking:
>
> I have 74 files, heavy on the dependencies
> I know nothing about make, automake or autoconf.
> I can't switch to Eclipse/CDT/Cygwin/MinGW because of this
>
> What should I do?
> Is there a plug-in for me?
> Is writing Makefile.am & configure.in simpler than i think?
> Should I just use Dev-C++?
>
> thanks.
>

You might have a look at QMake from Trolltech.
AFAIK it's a similar to automake and it's available
for several plattforms.

Especially it also can generate makefiles for a whole lot of
build environments. (like you can use eclipse as IDE, but
compile and debug with M$VC-IDE )

- Oliver
Re: automatic makefile generation [message #75930 is a reply to message #75781] Wed, 16 July 2003 10:52 Go to previous message
Eclipse UserFriend
If you download a CDT 1.2 build you can get an in-development Managed-Make
plugin which will (eventually) generate the makefiles for you. I cannot
comment on the current state of the feature, but it will definitely be
available for our 1.2 release this fall.

Eclipse offers many benefits over MSVC, but we understand that not everyone
is an early adopter. The basics of Make take about 15 minutes to learn and
it is useful knowledge to have in this industry. The choice is yours.

JohnC

"perplx" <perplx@hotmail.com> wrote in message
news:bf2gbi$6l1$1@eclipse.org...
> I'm tired of MSVC++. I found Eclipse. I installed MinGW, Cygwin. I tought
> it was over.
>
> Then I remembered I didnt know how to write makefiles.
>
> So I set up autoconf & automake, made simple files. I tought it was over.
>
> When after 15 minutes, make exited and, without error messages, gave me
> NOTHING (no .o, no .exe), I started thinking:
>
> I have 74 files, heavy on the dependencies
> I know nothing about make, automake or autoconf.
> I can't switch to Eclipse/CDT/Cygwin/MinGW because of this
>
> What should I do?
> Is there a plug-in for me?
> Is writing Makefile.am & configure.in simpler than i think?
> Should I just use Dev-C++?
>
> thanks.
>
Previous Topic:project folder with multiple makefiles
Next Topic:CDT 1.1 HPUX
Goto Forum:
  


Current Time: Sat May 03 17:29:01 EDT 2025

Powered by FUDForum. Page generated in 0.03070 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top