This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Code Optimization
- From: Taha Mannan Jiruwala <taha at sasken dot com>
- To: Ben Elliston <bje at redhat dot com>
- Cc: gcc at gnu dot org
- Date: Mon, 07 Oct 2002 12:28:38 +0530
- Subject: Re: Code Optimization
- Organization: Sasken Communication Technologies
- References: <3DA10EED.8EBF831A@sasken.com> <o7elb2zrrk.fsf@tooth.toronto.redhat.com>
I have checked the gcc manual and found some useful options.
I think I have not put my problem statement clearly, here it goes:
Basically my goal is to reduce the code footprint without significant
reduction in performance.
----------------------------------------------------------------------
My application has a set of libraries and executables
- When I link them statically, the exe sizes increase
- When I make them shared libraries, the performance of my application is
affected drastically.
My Approach:
- Reduce library size
- Find a shared library solution that is efficient (Does not drastically
reduce performance, may be something Intermediate to shared and static
approach)
TIA,
taha
Ben Elliston wrote:
> >>>>> "Taha" == Taha Mannan Jiruwala <taha@sasken.com> writes:
>
> Taha> I want to know of any pointers for Code Optimization Techniques
> Taha> using compiler and linker options. I am using g++.
>
> Have you checked the GCC manual?
>
> Ben