Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-11-2003, 08:34 PM   #1
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
Kernel compilation, clean vs distclean

Hi all.

Please tell me what is the purpose (difference) of:
make distclean
make clean

I accidentally used one of them, not so sure which one,
make bzImage and install it without make modules and make modules_install.
Mistake !!!
All of the installed modules were swept away so I had to
recompile everything. 3 Hours gone !!!

Last edited by Kocil; 08-11-2003 at 08:35 PM.
Old 08-11-2003, 11:29 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
read the first part of this article at the top...
to make a long story short, make distclean removes more files then make clean does..
Old 08-12-2003, 08:29 AM   #3
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Thanks DrOzz.

So it looked like I used distclean since everything was wiped out.
But I want to make it sure.
I though that 'make clean' removes only the compiled *.o,
not the installed ones.
Is that right ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
what is the difference between make distclean and make clean? alice95089 Linux - Software 3 08-28-2008 01:22 AM
does 2.6 kernel still have the clean list? oriate Linux - General 2 12-02-2005 11:14 PM
kswaret 'make distclean' powadha Slackware 5 12-20-2003 06:20 PM
RedHat 9.0 Clean 2.4.21 Kernel Rivatv 0.8.3 hyperlink1uk Linux - Hardware 0 11-01-2003 11:04 AM
what does make distclean do? danahata Linux - General 1 08-26-2003 03:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:24 PM.

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