This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -frepo


Hello!

>> 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++.

I use gcc driver not g++ since I don't use
native STL library. Is it possible
to avoid linking against libstdc++
in case of g++?
Of course, it is about linkage only.

After all, I still have the question about
the collect command line. Is is possible to
explicitly switch on repo processing?

>> 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.

I am not sure I clearly understand what 
"-frepo instantiaion model" means.
Explanations are higly appreciated.

The only documentation I am aware of is 
http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Template-Instantiation.html#Template-Instantiation
Can you suggest anything more comprehensive?

Thanks a lot for response!

-- 
Best regards
Ilja Golshtein


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]