speeding up the compilation on SUN Solaris environment


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting speeding up the compilation on SUN Solaris environment
# 1  
Old 07-12-2006
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  
Old 07-12-2006
There is no "don't compile slowly" button. What you're asking for is known as a "faster computer".
# 3  
Old 07-12-2006
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris and SAP SDK RFC compilation

Hi guys, I am stuck with an issue and i need help to solve. I have to compile an extension for PHP which would help the server to connect to SAP server through PHP. Binary is "SAP SDK RFC" I have the binary downloaded from the SAP official website. Server on which i have to install... (0 Replies)
Discussion started by: bvipin2002
0 Replies

2. Solaris

Error in compilation of cxx file on Sun C++ 5.9 SunOS_sparc 2007/05/03)

Hi All when I am compiling the cxx file on the system with compiler version (CC: Sun C++ 5.9 SunOS_sparc 2007/05/03) , I am facing the following error:- /opt/SUNWspro/bin/CC -dy -misalign -xcode=abs64 -xarch=v9 -D__EXTENSIONS__ -Dsun4_R5=1 -I. -Isun4_R5_v... (0 Replies)
Discussion started by: ash_bit2k2
0 Replies

3. Programming

Header file compilation using gcc in Sparc Solaris

I am facing problem while migrating the c++ code from Linux to Solaris. In linux the code is absolutly compiled fine with GCC compiler but when i am using the same in Solaris it coomplains bash-3.1$ gcc LibSip.h gcc: Compilation of header file requested The same command is working fine in... (2 Replies)
Discussion started by: mrupesh74
2 Replies

4. Solaris

useful links and help resources for Sun's products and Sun's Solaris

Hi all, Those links might help anyone Knowledge base Video tutorials (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies

5. UNIX for Advanced & Expert Users

File Auditing in Sun Solaris environment

Hi All, I have a requirement to report us on changing a group of static files. Those are the binary files that run in Production every day. Due to the in sercure environment situations, I found many are indulging in there own changes to the binaries by doing some changes in the souce code. ... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies

6. Solaris

Sun Fire 280R Sun Solaris CRT/Monitor requirements

I am new to Sun. I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor? Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies

7. Shell Programming and Scripting

common UNIX script which is to work in HP and SUN environment

I have two different UNIX scripts for updating Co-ordinate points which are working fine seperately in HP and SUN environments. But I am trying to write a common UNIX script which is to work in HP and SUN environment. The following are the scripts i am using SUN: #!/bin/ksh info () {... (6 Replies)
Discussion started by: ramkumar2yk
6 Replies

8. Solaris

Solaris : compilation error

Hi All, while building, i am receiving the following error...... Undefined first referenced symbol in file void os_directory::create(const std::string &) obj.release/BOConfig.o (symbol belongs to implicit dependency... (2 Replies)
Discussion started by: vinod_kumar_k
2 Replies

9. UNIX for Dummies Questions & Answers

Sun Solaris 10: How do I create a bootup disc? The Sun website confuses me

Hey there, I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies

10. UNIX for Dummies Questions & Answers

compilation diff between aix & solaris

what is the difference in awk stmt for awk in Aix & SOLARIS files="$@" for filename in $files do awk ' BEGIN { if ( FILENAME ~ ".*bad.trans.dsm" ) code = "bad"; else if ( FILENAME ~ ".*here.*.dsm" ) code = "here"; else ... (2 Replies)
Discussion started by: ls1429
2 Replies
Login or Register to Ask a Question