:: Re: [DNG] gcc-doc
Top Page
Delete this message
Reply to this message
Author: Ken Dibble
Date:  
To: dng
Subject: Re: [DNG] gcc-doc
On 1/19/23 11:19, o1bigtenor via Dng wrote:
> On Thu, Jan 19, 2023 at 9:57 AM Rainer Weikusat via Dng
> <dng@???> wrote:
>> The Original Linux Fan via Dng <dng@???> writes:
>>> I'm having trouble getting gcc-doc on my Devuan
>>> distro. Any ideas? This one is slightly older, but
>>> neither `man gcc` nor `info gcc` works. I've tried
>>> `apt install gcc-doc` and using synaptic to retrieve
>>> any gcc docs, all to no avail.
>>>
>>> Ideas would be welcome and greatly appreciated.
>> Does apt-cache show gcc-doc show package information or a Package not
>> found error? If it's the latter, you might need to add non-free to your
>> sources.list entries.
>>
> Greetings
>
> I'm only beginning by odyssey into programming so I read lots and try to ask
> questions so that I understand at least 'something' better.
>
> When I did # man gcc or # gcc man I get - - -
> # man gcc
> root@memyself:/# gcc man
> /usr/bin/ld: cannot find man: No such file or directory
> collect2: error: ld returned 1 exit status
> root@memyself:/# apt-cache show gcc-doc
> Package: gcc-doc
> Version: 5:12.1.0-1
> Installed-Size: 31
> Maintainer: Debian GCC Maintainers <debian-gcc@???>
> Architecture: amd64
> Replaces: g++ (<< 4:4.1.1-7), gcc (<< 4:4.1.1-7)
> Depends: gcc-12-doc (>= 12.1.0-1~)
> Breaks: g++ (<< 4:4.1.1-7), gcc (<< 4:4.1.1-7)
> Homepage: http://gcc.gnu.org/
> Description: documentation for the GNU compilers (gcc, gobjc, g++)
> Description-md5: 5c7b4ceecbb8f4546afea54849cba957
> Source: gcc-doc-defaults (5:25)
> Tag: devel::doc, devel::lang:c, devel::lang:c++, devel::lang:objc,
> devel::library, implemented-in::c, role::devel-lib,
> role::documentation, role::metapackage
> Section: contrib/doc
> Priority: optional
> Filename: pool/DEBIAN/contrib/g/gcc-doc-defaults/gcc-doc_12.1.0-1_amd64.deb
> Size: 6816
> MD5sum: a53919c0849fda877de034ddd651aa86
> SHA256: 2d7a526239bbebc20111e50bd364cfe113433a4b0b0d472965edf7abc44b2563
>
> This suggests that something 'is' installed.
>
> How do I call it - - please?
>

I always use https://gcc.gnu.org/onlinedocs/

which works, but it does not answer the questions your issue rises.


Regards,

Ken