LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2007, 04:04 AM   #1
(tm)
Member
 
Registered: Mar 2004
Location: Wrocław, Poland
Distribution: Fedora 2
Posts: 31

Rep: Reputation: 15
How to shorten make output (using qmake)


Hi gurus!

Do you know any good pages describing how to make 'make' generate nice output?
Instead of
distcc arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fPIC -pedantic -Wno-deprecated
...(a lot of other things)
-o yyy/xxx.o yyy/xxx.cpp

I'd prefer to see
Compiling xxx.cpp

The same with linking libraries

I use qmake to generate Makefiles


maju
 
Old 02-01-2007, 07:06 AM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
The output comes from the gcc compiler. The compiler is doing a lot of work for you and it does like to chat. However much of the information it gives you is useful and you soon get used to reading it. If I remember correctly kDevelop takes that output and highlights really important issues (like errors) and clicking on an error will open the file and place the cursor on the right line. So you see that output can be useful.
 
Old 02-01-2007, 07:33 AM   #3
(tm)
Member
 
Registered: Mar 2004
Location: Wrocław, Poland
Distribution: Fedora 2
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you for your answer graemef!

>So you see that output can be useful
I don't want to get rid of all the output - that's easy.

>If I remember correctly kDevelop takes that output and highlights really important issues.
This is what I want to learn to do
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 07:17 AM
grip and shorten encoding helios007 Linux - Software 0 09-19-2003 02:14 PM
How to shorten the timeout for an eth0 connection? Mad Merlin Linux - Networking 7 08-12-2003 11:47 PM
Converting Shorten files using Linux haystacs Linux - Software 5 05-08-2003 11:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration