Re: Header file dependency, rpath, soname and more with GCC

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

 



在 2023/3/15 02:53, ljh via Gcc-help 写道:
(Fixed the web mail format. Sorry!)

Hi community,

Currently, I can handle these tasks in C and C++ programming with GCC
on Linux:

1. Header file dependency;
2. rpath (for build and install);
3. soname for so versioning;
4. Debug or Release mode;
5. out-of-source build;

I want to know if there are some other tasks which are missing from the
above list and I need to handle them too. Many thanks!

The above tasks can be handled in my CMake, Autotools, or manual Makefile.
Below is my Makefile.

You should start to use libtool with autotools (and stop writing Makefiles by hand), which does all these pieces of dirty work for you, and makes your program (likely to) run on platforms that you probably have never heard of.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[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