This is the mail archive of the gcc@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: ./configure --program-suffix and man pages


Gerald Pfeifer wrote:
> I noticed that if one uses --program-suffix, for example to append a
> version number like -3.3.3 to all binaries, the names of man pages are
> not affected.
>
> So while one can invoke gcc-3.3.3, gcc-treessa, gcc-3.5.0, whatever,
> the man pages for all of these will also be called gcc.1.

Jerry,

At least for 3.4+, this renaming you have requested will happen during a make install.

$ ../gcc-snapshot/configure --program-suffix=-3.4prerelease
...
$ make configure-gcc
...
$ cd gcc
$ make install-man
$ ls -R /usr/local/man
/usr/local/man:
man1  man5  man7

/usr/local/man/man1:
cpp.1                gcj-3.4prerelease.1  jcf-dump.1    rmiregistry.1
g++-3.4prerelease.1  gcjh.1               jv-convert.1
g77-3.4prerelease.1  gcov.1               jv-scan.1
gcc-3.4prerelease.1  gij.1                rmic.1

/usr/local/man/man5:

/usr/local/man/man7:
fsf-funding.7  gfdl.7  gpl.7

$


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