Re: Compiling modules: understanding filename conventions

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

 



On Fri, 5 May 2023, 06:09 Wilhelm Meier wrote:

>
> Additionally, if I have some modules in different directories but with
> same file-names, the files in gcm.cache resemble that directory
> structure, but the .o files are overridden.
>

This is exactly the same as doing:
g++ -c dir1/foo.cc
g++ -c dir2/foo.cc

So not anything specific to modules.

If you don't want foo.o to be overridden, you can use -o to write to
dir1/foo.o or some other location.



[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