From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 74C0B3858C56 for ; Thu, 16 Jun 2022 09:41:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 74C0B3858C56 Received: by mail-wm1-x32d.google.com with SMTP id e5so467306wma.0 for ; Thu, 16 Jun 2022 02:41:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KiuRoIyo+uKJZDPl13mxL6hdtULaCbTwBoAskLJ5c0s=; b=h4bs+g92QGRaaHZGq5fgzPazBHk9owh97/DfMUudSeDFW6NcypiMYI/opJ9I6ekO2p 2PbVJP4MNwvpc3gkp6hdvVLoXgDChYYXt1oyjdMaTH4ott0aEt6z1i6A7ufCu8MrUjCB LumJlJXC046xvw3b4aeoC0C+epg1nynjK/bF4sLb3YeHvmPVMcyphehjLpdNB2xugVtf shBZnCcuhnwzu7uldJ+XWS2xlNkSsNsK7oB+jCUG24Vodfinvqg3I9xNh5r5lbiTH+YX 6XS2ZlxhTohbqln5aEYnGK8vxbb3QYFOX1u/FAbHH21grd61tMVbutDNvzLty6jwTJn3 IS2A== X-Gm-Message-State: AOAM531GBpoca57bJVEZOQdvhnBWz6jdFTrq7+pze5eXhLo0AZCmAwS2 ivOD2CrzTYPebiscfLe9yiQkLZazvg/zcK+gH6s= X-Google-Smtp-Source: ABdhPJzsVxE4zRJUubx9++Dtm2ZSAjyh6VRTFMEZi0zmH93j1bg3Ht6OI1cY5w5/2QBbX+uch+YUxy4lT2pxF6PgF/M= X-Received: by 2002:a05:600c:601f:b0:39c:416c:4069 with SMTP id az31-20020a05600c601f00b0039c416c4069mr14494917wmb.85.1655372496229; Thu, 16 Jun 2022 02:41:36 -0700 (PDT) MIME-Version: 1.0 References: <7a460d8f-51ba-e5c2-8b3d-5670ec6a218f@mail.ru> <85e17ce4-8552-8622-4155-f75d3309b0b5@mail.ru> <1655324574.151471353@f757.i.mail.ru> In-Reply-To: <1655324574.151471353@f757.i.mail.ru> From: Jonathan Wakely Date: Thu, 16 Jun 2022 10:41:25 +0100 Message-ID: Subject: Re: Re[2]: Errors : '__INTPTR_TYPE__' undeclared while building GCC 12.1.0 for symbian To: Fiodar Cc: gcc-help Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2022 09:41:39 -0000 On Wed, 15 Jun 2022 at 21:24, Fiodar wrote: > > > > I tried GCC 3.4.3 shipped with Symbian SDK. Result same. > > I googled for =C2=AB__INTPTR_TYPE__=C2=BB and found =E2=80=94 https://gc= c.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html > =D0=A1itation : > =C2=ABSome of these macros may not be defined on particular systems if GC= C does not provide a stdint.h header on those systems.=C2=BB > I look for =C2=ABINTPTR_TYPE=C2=BB in gcc sources and found headers named= {target}-stdint.h > We are talking about these files, right? You need Symbian's The gcc xxx-stdint.h file is only used if you compile with -ffreestanding so the OS isn't used.