Re: -frepo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux