LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-06-2024, 05:43 PM   #1
breaker
Member
 
Registered: Mar 2022
Distribution: Slackware 15.0
Posts: 87

Rep: Reputation: 29
git clone of newlib, getting makeinfo --info libc.texi to produce info files?


Hi, I'm stuck on getting an .info file out of the newlib sources. Also, I never tried using makeinfo before.

I cloned from here: git clone https://sourceware.org/git/newlib-cygwin.git

The newlib-cygwin/newlib README says, in part:

Quote:
All the documentation for NEWLIB comes as part of the machine-readable
distribution. The documentation is written in Texinfo format, which is
a documentation system that uses a single source file to produce both
on-line information and a printed manual. You can use one of the Info
formatting commands to create the on-line version of the documentation
and TeX (or `texi2roff') to typeset the printed version.

If you want to format these Info files yourself, you need one of the
Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'.
So I read the info file about makeinfo, and it says you just do:
texi2any --info bison.texinfo

The first .texi file I could find is in newlib-cygwin/newlib/libc

So, from the libc directory I ran
Code:
texi2any --info libc.texi
However, I got errors:
Code:
libc.texi:179: @include: could not find targetdep.tex
libc.texi:176: @xref reference to nonexistent node `Syscalls'
libc.texi:137: @menu reference to nonexistent node `Stdlib'
libc.texi:138: @menu reference to nonexistent node `Ctype'
libc.texi:139: @menu reference to nonexistent node `Stdio'
libc.texi:140: @menu reference to nonexistent node `Stdio64'
libc.texi:142: @menu reference to nonexistent node `Strings'
libc.texi:143: @menu reference to nonexistent node `Wchar strings'
libc.texi:144: @menu reference to nonexistent node `Signals'
libc.texi:146: @menu reference to nonexistent node `Timefns'
libc.texi:147: @menu reference to nonexistent node `Locale'
libc.texi:148: @menu reference to nonexistent node `Reentrancy'
libc.texi:150: @menu reference to nonexistent node `Misc'
libc.texi:151: @menu reference to nonexistent node `Posix'
libc.texi:152: @menu reference to nonexistent node `Syscalls'
libc.texi:154: @menu reference to nonexistent node `Encoding conversions'
libc.texi:155: @menu reference to nonexistent node `Overflow Protection'
It seems I need a path to targetdep.tex - is this somewhere on Slackware 15.0?

Do you need me to post the libc.texi?

thanks for a clue!
 
Old 01-09-2024, 12:31 PM   #2
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 676
Blog Entries: 1

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I think this file targetdep.tex it should being in newlib/libc/targetdep.tex but its not!
So i thought its texinfo issue for stable but the same issue exist in Slackware current so it not have to do with the texinfo version.
So or newlib/libc/targetdep.tex is missing this file from git repo and you should download it from other repo (!?)
or it have to do with how Pat build texinfo in Slackware (?!), or we can create it somehow (!?)
Personally, dont know...
 
Old 01-09-2024, 10:34 PM   #3
breaker
Member
 
Registered: Mar 2022
Distribution: Slackware 15.0
Posts: 87

Original Poster
Rep: Reputation: 29
Oh well, I will just clone the html pages from here and be done with it! https://sourceware.org/newlib/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
To adjust or set page margins by use of .texi file BudiKusasi Linux - Software 1 01-06-2021 08:31 AM
makeinfo install Sruthy_Subash Linux - Distributions 6 09-14-2018 06:48 AM
make info: makeinfo --html or texi2html seannachie Linux From Scratch 1 10-30-2011 03:52 PM
NEWLIB vs GLIBC MKSrivastava Linux - General 1 04-19-2007 05:44 AM
lruser.texi not found when producing bashref.dvi jschiwal Linux - General 0 05-13-2005 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration