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

rpmbuild and debuginfo



rpmbuild has a new feature in that it will automatically create a 
<name>-debuginfo package when you (re)build a package.  This is documented in 
the RELEASE-NOTES:
--------------------------------------------------------------------------------------------------
 o GDB has been enhanced to allow debugging information for applications
       to be read from separate files. This makes it possible to extract
       debugging information from binaries and place them in a supplemental
       package. During the development of Red Hat Linux 9,
       "debuginfo" packages were generated for nearly every package by
       implementing special RPM macros. By default, the RPM macro
       configuration in Red Hat Linux 9 generates "debuginfo"
       packages. If you are building packages and do not want to generate
       "debuginfo" packages, add the following to your ~/.rpmmacros file:
 
       %define debug_package %{nil}
-----------------------------------------------------------------------------------------------------

However, this is not exactly correct.  To disable this feature you need to add 
the following to ~/.rpmmacros:

    %debug_package %{nil}
-- 
Gene C.





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