public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Fiodar <fedor_qd@mail.ru>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Re[2]: Errors : '__INTPTR_TYPE__' undeclared while building GCC 12.1.0 for symbian
Date: Thu, 16 Jun 2022 10:41:25 +0100	[thread overview]
Message-ID: <CAH6eHdQ2hZ1x33xYMTKpvW1YARHD3dk3t+7jt2Qk4q_G0nsNPg@mail.gmail.com> (raw)
In-Reply-To: <1655324574.151471353@f757.i.mail.ru>

On Wed, 15 Jun 2022 at 21:24, Fiodar <fedor_qd@mail.ru> wrote:
>
>
>
> I tried GCC 3.4.3 shipped with Symbian SDK. Result same.
>
> I googled for «__INTPTR_TYPE__» and found —  https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
> Сitation :
> «Some of these macros may not be defined on particular systems if GCC does not provide a stdint.h header on those systems.»
> I look for «INTPTR_TYPE» in gcc sources and found headers named {target}-stdint.h
> We are talking about these files, right?

You need Symbian's <stdint.h>

The gcc xxx-stdint.h file is only used if you compile with
-ffreestanding so the OS <stdint.h> isn't used.

      reply	other threads:[~2022-06-16  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 12:44 Fiodar Stryzhniou
2022-06-12 11:31 ` Fiodar Stryzhniou
2022-06-15 20:22   ` Re[2]: " Fiodar
2022-06-16  9:41     ` Jonathan Wakely [this message]

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=CAH6eHdQ2hZ1x33xYMTKpvW1YARHD3dk3t+7jt2Qk4q_G0nsNPg@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=fedor_qd@mail.ru \
    --cc=gcc-help@gcc.gnu.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).