The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
modifying grep to get files only within last 2 hrs ragha81 Shell Programming and Scripting 3 01-11-2007 03:11 PM
modifying grep to return latest files ragha81 Shell Programming and Scripting 4 12-28-2006 12:09 PM
Perl - Appending/Modifying Excel files srinivay Shell Programming and Scripting 2 01-10-2005 02:46 AM
compiling and linking 2 C files ...?? abdul High Level Programming 4 10-02-2001 07:23 AM
How can I ... (Modifying large ASCII files) hviktor UNIX for Dummies Questions & Answers 2 07-20-2001 07:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2006
Registered User
 

Join Date: Jun 2006
Posts: 1
Stumble this Post!
modifying C file and linking back to project files

hi,
This is the first time I work in a big C project. All source code files are located in say directory /source/pp and all header files are in /include/pp. I've created a link to both of these directories from my home dir, say /home/ss. So in the /home/ss dir I have the /source/pp and /include/pp directories which are really links. Now, I want to modify one of the C files in /source/pp. I can't do it directly from the /source/pp directory...that's why i created the links to these folders. I created another directory in /home/ss from which I could work in. My question is, how can I get a file from the /source/pp directory, modify it and link it to all the other c files and header files?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-22-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
Stumble this Post!
Instead of making symbolic links to the directories, how about making symbolic links to the files? When you need to modify a file, delete the link and make it real copy instead.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0