-frepo

Nathan Sidwell nathan@codesourcery.com
Tue Dec 13 18:19:00 GMT 2005


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



More information about the Gcc-help mailing list