This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -frepo
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: ilejn at yandex dot ru
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 13 Dec 2005 18:20:23 +0000
- Subject: Re: -frepo
- References: <439DA8E4.000007.31487@camay.yandex.ru>
Ilja Golshtein wrote:
Hello list!
1. I use gcc not g++ to link my executables. Investigating
what happens behind the scene, I see collect's command line
is pretty much the same for g++ ang gcc.
The difference ig gcc does not use repo files.
What is the trick?
what are you trying to do? Are you linking c++ object files?
If so, use g++.
2. My executable depends on files in several directories.
Full path is specified for each .o file.
Should I do anything special to specify repo files search path?
3. Does it make sence (e.g. from compilation speed and executable
size) to use -frepo? gcc 4.0.2 suggests it does ...
do you want to use the -frepo instantiaion model or not? Refere to the
documentation about instantiation models for an explanation.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk