Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse autotools - part 2 (make / makefile verbose )
Eclipse autotools - part 2 [message #1773215] Sun, 24 September 2017 20:56 Go to next message
Vaclav Sal is currently offline Vaclav SalFriend
Messages: 154
Registered: September 2014
Senior Member
Simple question
Is there a way to option ALL autolool make files to output verbose in ONE place?

From Eclipse "help"
Build (Project ?) runs "configure " first than --- what ?

apparently on first attempt autoconfig
and when successful than autoreconf from then on.

Since the actual outputs go to DIFFERENT consoles it it harder to keep tract of progress or no progress / debug.

The individual autotools options also appear NOT to be permanent / saved .



[Updated on: Sun, 24 September 2017 20:58]

Report message to a moderator

Re: Eclipse autotools - part 2 [message #1773219 is a reply to message #1773215] Mon, 25 September 2017 00:53 Go to previous messageGo to next message
David Vavra is currently offline David VavraFriend
Messages: 627
Registered: October 2012
Senior Member
Like most things with Eclipse it's best to be able to do them without Eclipse then you'll understand what Eclipse is doing for you.

Although I usually add the autotools flavor to my projects which use Autotools, I rarely use the commands in the plugin.
Once you have Makefile.am in all subdirectories and configure.ac you often only need:
autoreconf --install --force
./configure
and, unless you are changing the .am and .ac files, you are done with Autotools for most projects.
You can also make a shell script to do them which is handy for remembering configure options.

I usually execute them from a terminal then refresh the project in the Project Explorer view.
Afterward, I treat the project as a Makefile project.

EDIT:
This may put you in the right direction:
https://www.gnu.org/software/automake/manual/html_node/Creating-amhello.html#Creating-amhello

Along with:
https://www.gnu.org/software/autoconf/manual/autoconf.html
https://www.gnu.org/software/autoconf/manual/automake.html
https://www.gnu.org/software/libtool/manual/libtool.html

[Updated on: Mon, 25 September 2017 05:48]

Report message to a moderator

Re: Eclipse autotools - part 2 [message #1773251 is a reply to message #1773219] Mon, 25 September 2017 14:59 Go to previous message
Vaclav Sal is currently offline Vaclav SalFriend
Messages: 154
Registered: September 2014
Senior Member
Thanks for the reply.
I realize my mistakes - first one was selecting Eclipse to develop software for Raspberry Pi.
This may by an understatement - but Eclipse is NO IDE. Its "integration " stops after "Hello world".

Secondly - I have been avoiding to learn how "make" fits into the scheme of things, hoping that GUI IDE will do the dirty work for me.
Not so.

Now I have no choice but to dive into this mess by totally reversing MY development process by doing the "make" first.

Cheers
Vaclav



Previous Topic:Can't run c code after building it: Launch failed. Binary not found.
Next Topic:CDT source code build error
Goto Forum:
  


Current Time: Fri Dec 15 06:33:16 GMT 2017

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

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