Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
when is make clean advised?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wallace1819
Apprentice
Apprentice


Joined: 17 Aug 2002
Posts: 195
Location: VT

PostPosted: Wed Jun 04, 2003 7:26 pm    Post subject: when is make clean advised? Reply with quote

I've started using the 2.5.70-r3 sources and ahve a coulpe questions about terminology and compiling.

terminology:
are 2.5.70-r3 and 2.5.70-mm3 the same thing? I see the mm3 thing outside this forum a lot and was woundering if there was a difference?

compiling:
I saw the post about not needing 'make dep' now, but I have noticed that if I do not do a 'make clean' theses sources recompile a lot quicker. When is it advisable/important to do a 'make clean' before 'make bzImage modules modules_install'

Thx in advance,
wallace
Back to top
View user's profile Send private message
pizen
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 213
Location: Atlanta, GA, USA

PostPosted: Wed Jun 04, 2003 7:31 pm    Post subject: Reply with quote

Make clean is going to delete all the object files from previous compiles. This means that when you recompile it will be a full recompile. The appeal of using make is that you don't have to do this. Make knows which files are different so it can recompile those needed and not the whole thing.
Back to top
View user's profile Send private message
wallace1819
Apprentice
Apprentice


Joined: 17 Aug 2002
Posts: 195
Location: VT

PostPosted: Wed Jun 04, 2003 7:35 pm    Post subject: thought so Reply with quote

that is what i figured for adding something new...is it smart enought to remove stuff you have removed?
Back to top
View user's profile Send private message
pizen
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 213
Location: Atlanta, GA, USA

PostPosted: Wed Jun 04, 2003 7:38 pm    Post subject: Re: thought so Reply with quote

wallace1819 wrote:
that is what i figured for adding something new...is it smart enought to remove stuff you have removed?

I'm not familiar enough with the kernel make process to know if it doesn't link files not in the config. If it doesn't link them then it doesn't matter because your kernel size won't change because of make clean. If it links all the object code then make clean would affect kernel size.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum