public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: Newlib <newlib@sourceware.org>
Subject: Re: Iconv.html and iconv.html
Date: Fri, 9 Dec 2022 17:40:30 +0100	[thread overview]
Message-ID: <7cc5a9de-bd1c-4994-63ff-565a8f0de85b@foss.st.com> (raw)
In-Reply-To: <Y5NiaddLSK8OqMOU@vapier>

Hi Mike,

On 2022-12-09 17:29, Mike Frysinger wrote:
> On 02 Dec 2022 17:06, Torbjorn SVENSSON wrote:
>> I have been building a toolchain for the arm-none-eabi target using a
>> rather recent snapshot of newlib. While building the html documentation,
>> I noticed that there will be generated the two files named Iconv.html
>> and iconv.html.
>> While this works fine for case sensitive file systems, it's obvious that
>> this will not have the desired outcome on a case-insensitive file
>> system, such as on Windows system.
>>
>> The Iconv.html file contains the chapter description and the iconv.html
>> file contains the description of the iconv-function.
>>
>> Can someone, with the knowledge of how these filenames are generated,
>> change one of them so that the filenames differ on a case insensitive
>> file system?
> 
> the naming is straightforward -- the @node attribute is turned directly into
> the filename.  we use @node Iconv for the chapter and @node iconv for the C
> function APIs.  so the fix is to change one of them.
> 
> the sub-areas have a 1-to-1 mapping to the chapter (e.g. stdio/->Stdio,
> iconv/->Iconv, etc...).  the generated APIs similarly map source file
> names to the chapter (e.g. iconv.c->iconv, strncmp.c->strncmp).  but they
> can map any number of functions inside those source files, and we might
> rename them as makes sense in general for our organization.  so i'm more
> inclined to change the generated API chapters, and do it across the board
> instead of a one-off for iconv.c.
> 
> anyone want to bikeshed the naming convention ?  gen_xxx ?  src_xxx ?
> there doesn't seem to be a standard here in the GNU toolchain space that
> i can see.  bfd/ has a conflict, but they just do a one-off rename with
> bfd.texi->bfdt.texi for the makedoc output.


To me, I think "gen_xxx" is preferred in that case.
I think GDB has another of those conflicts (that is still to be solved) 
with qMemTags vs QMemTags.

Kind regards,
Torbjörn

  reply	other threads:[~2022-12-09 16:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02 16:06 Torbjorn SVENSSON
2022-12-09 16:29 ` Mike Frysinger
2022-12-09 16:40   ` Torbjorn SVENSSON [this message]
2022-12-10  8:29   ` Mike Frysinger
2022-12-10  8:29 ` [PATCH] newlib: info: tweak iconv node to avoid collisions Mike Frysinger
2022-12-13  1:28   ` Jeff Johnston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7cc5a9de-bd1c-4994-63ff-565a8f0de85b@foss.st.com \
    --to=torbjorn.svensson@foss.st.com \
    --cc=newlib@sourceware.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).