This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Time taken by GCC 4.9.1 to compile
- From: Syed Ahsan Ali Bokhari <ahsan dot pmd at gmail dot com>
- To: Raghunath Lolur <raghunathlolur dot subscriptions at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 6 Aug 2014 13:19:17 +0500
- Subject: Re: Time taken by GCC 4.9.1 to compile
- Authentication-results: sourceware.org; auth=none
- References: <CAOjP03Uh6XuNLVeRdZnMpD5Q6bgDPi1MotRtYHopdUToGPy-pQ at mail dot gmail dot com> <CAEazkWMKKtFSGizGFLuncZVYTzfM5StA9FTsjJM23TY3VmX4+A at mail dot gmail dot com>
Thanks Raghunath
I have not used any option with configure. I guess I should also try
parallel build.
On Wed, Aug 6, 2014 at 1:14 PM, Raghunath Lolur
<raghunathlolur.subscriptions@gmail.com> wrote:
> It depends on what options you used in configuring GCC.
>
> To speed up the build process, you can make use of parallel execution of
> make utility with the following command:
>
> make -j <N> , where N is the number of parallel jobs, determined by the
> number of CPU cores available in your system.
>
> To determine the number of CPU cores in your system, read
> http://www.cyberciti.biz/faq/linux-get-number-of-cpus-core-command/
>
> Also, read https://gcc.gnu.org/install/ - for more info on building GCC from
> source.
>
> Regards,
> Raghunath Lolur.
>
>
> On Wed, Aug 6, 2014 at 11:19 AM, Syed Ahsan Ali Bokhari
> <ahsan.pmd@gmail.com> wrote:
>>
>> I wonder how much time it takes to compile gcc-4.9.1. After "make" 2
>> hours have been passed and still build underway.
>>
>> Ahsan
>
>
--
Syed Ahsan Ali Bokhari
Electronic Engineer
Research & Development Division
Pakistan Meteorological Department H-8/2, Islamabad.
Phone # off +92519250361
Cell # +923155145014
Fax # +92519250368
www.pmd.gov.pk