The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setting environment variable on a remote solaris machine using shell script eamani_sun Shell Programming and Scripting 1 05-30-2008 10:05 PM
Solaris : compilation error vinod_kumar_k SUN Solaris 2 12-04-2007 06:55 AM
Solaris 10.0 PATH environment XNOR UNIX for Dummies Questions & Answers 10 04-09-2007 11:24 PM
How to configure NTP in Solaris/Windows/Linux environment...??? jumadhiya SUN Solaris 8 02-12-2007 05:52 AM
compilation diff between aix & solaris ls1429 UNIX for Dummies Questions & Answers 2 02-07-2002 10:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-12-2006
swamymns swamymns is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 25
speeding up the compilation on SUN Solaris environment

Dear friends,
Please let me know how do I increase the speed of my compilation in SUN Solaris environment.

actually I have many subfolders which contains .cc files.

when I compile makefile at the root it will take much time to compile all the subfolders and generates object(.o) files.

Can any one of you please tell me who can I increase the compilation speed.

Please provide me the solution.

Thanks in advance,
swamymns
  #2 (permalink)  
Old 07-12-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
There is no "don't compile slowly" button. What you're asking for is known as a "faster computer".
  #3 (permalink)  
Old 07-12-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
If you can run the makefile against a smaller subset of cc files (or create one that does) and you have more than one cpu on your box try "multiprocessing"
Code:
cd /path/subfolder1
script_that_calls_makefile  &
cd /path/subfolder2
script_that_calls_makefile  &
Even on a single processor box, the total time elapsed will be very slightly less.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0