Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 25-04-2009
Member
 
Join Date: Feb 2008
Posts: 324
Compile a project after modification

I have an Linux open-source and I have to edit a source in the project. My problem is that after the change I do not know how to recompile the project. I have a makefile but when I run it I see the following message: "nothing to do for all"?
Reply With Quote
  #2  
Old 25-04-2009
XSI XSI is offline
Member
 
Join Date: May 2008
Posts: 271
Re: Compile a project after modification

Try

Code:
make clean
Then

Code:
./configure - help
for configuration options

Code:
./configure # + configuration options 
make 
make install
Reply With Quote
  #3  
Old 25-04-2009
Member
 
Join Date: Feb 2008
Posts: 324
Re: Compile a project after modification

I think I misstated my problem ...

My program is in several source quote, I do not want to recompile the whole program but only one source that calls to other sources

Example: the project consists of (main.c, source1.c source2.c, ... etc). I want to compile and run only source2.c since it depends on other sources in the project.

Sorry if I did not explain the problem
Reply With Quote
  #4  
Old 25-04-2009
Member
 
Join Date: May 2008
Posts: 685
Re: Compile a project after modification

Normally if you simply change a source file and you do make it should help.

It will generate .o of .c, which then changed the link again to get the program

- Did you tried to rebuild the binary recompiling sources before making the modification?
- The program is multi-platform?
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Compile a project after modification"
Thread Thread Starter Forum Replies Last Post
Co-op connection modification in Orcs Must Die 2 zidane Video Games 5 03-09-2012 06:36 PM
How to view the link between the deliverable project task and the dependency project task in project pro 2010 Hevel Microsoft Project 4 20-04-2012 11:22 PM
Modification of an element of the register halutz Windows Software 3 29-01-2009 11:38 PM
After modification, no screen gazwsx Overclocking & Computer Modification 2 10-10-2008 03:48 PM
Bike Modification in Mumbai Spencer Off Topic Chat 3 17-09-2008 02:04 PM


All times are GMT +5.5. The time now is 11:26 AM.