* About Multilib
@ 2024-02-23 8:05 yuucyf
2024-02-23 8:35 ` Kai Ruottu
2024-02-23 10:01 ` Jonathan Wakely
0 siblings, 2 replies; 5+ messages in thread
From: yuucyf @ 2024-02-23 8:05 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
hi, all:
On the PPC platform, when using gcc, an error is reported: cc1: error: '-m32' not supported in this configuration.
Which configuration parameter should be enabled in the source code to build gcc in a way that the resulting gcc supports the -m32 option? thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About Multilib
2024-02-23 8:05 About Multilib yuucyf
@ 2024-02-23 8:35 ` Kai Ruottu
2024-02-23 8:39 ` Kai Ruottu
2024-02-23 10:01 ` Jonathan Wakely
1 sibling, 1 reply; 5+ messages in thread
From: Kai Ruottu @ 2024-02-23 8:35 UTC (permalink / raw)
To: yuucyf, gcc-help
yuucyf via Gcc-help kirjoitti 23.2.2024 klo 10.05:
> hi, all:
>
> On the PPC platform, when using gcc, an error is reported: cc1: error: '-m32' not supported in this configuration.
> Which configuration parameter should be enabled in the source code to build gcc in a way that the resulting gcc supports the -m32 option? thanks.
Little Endian target? 32-binaries don't seem to be used in
'powerpc64le-linux-gnu' configuration.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About Multilib
2024-02-23 8:35 ` Kai Ruottu
@ 2024-02-23 8:39 ` Kai Ruottu
0 siblings, 0 replies; 5+ messages in thread
From: Kai Ruottu @ 2024-02-23 8:39 UTC (permalink / raw)
To: yuucyf, gcc-help
Kai Ruottu kirjoitti 23.2.2024 klo 10.35:
> yuucyf via Gcc-help kirjoitti 23.2.2024 klo 10.05:
>> hi, all:
>>
>> On the PPC platform, when using gcc, an error is reported: cc1:
>> error: '-m32' not supported in this configuration.
>> Which configuration parameter should be enabled in the source code to
>> build gcc in a way that the resulting gcc supports the -m32 option?
>> thanks.
> Little Endian target? 32-binaries don't seem to be used in
> 'powerpc64le-linux-gnu' configuration.
For instance :
https://stackoverflow.com/questions/76587311/how-to-build-a-32-bit-application-on-a-powerpc64-target-power8-system
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About Multilib
2024-02-23 8:05 About Multilib yuucyf
2024-02-23 8:35 ` Kai Ruottu
@ 2024-02-23 10:01 ` Jonathan Wakely
2024-02-23 19:32 ` Segher Boessenkool
1 sibling, 1 reply; 5+ messages in thread
From: Jonathan Wakely @ 2024-02-23 10:01 UTC (permalink / raw)
To: yuucyf; +Cc: gcc-help
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
On Fri, 23 Feb 2024, 08:07 yuucyf via Gcc-help, <gcc-help@gcc.gnu.org>
wrote:
> hi, all:
>
> On the PPC platform, when using gcc, an error is reported: cc1: error:
> '-m32' not supported in this configuration.
> Which configuration parameter should be enabled in the source code to
> build gcc in a way that the resulting gcc supports the -m32 option? thanks.
--enable-multilib
But as already observed, you need 32-bit user space libraries.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About Multilib
2024-02-23 10:01 ` Jonathan Wakely
@ 2024-02-23 19:32 ` Segher Boessenkool
0 siblings, 0 replies; 5+ messages in thread
From: Segher Boessenkool @ 2024-02-23 19:32 UTC (permalink / raw)
To: Jonathan Wakely; +Cc: yuucyf, gcc-help
On Fri, Feb 23, 2024 at 10:01:49AM +0000, Jonathan Wakely via Gcc-help wrote:
> On Fri, 23 Feb 2024, 08:07 yuucyf via Gcc-help, <gcc-help@gcc.gnu.org>
> wrote:
>
> > hi, all:
> >
> > On the PPC platform, when using gcc, an error is reported: cc1: error:
> > '-m32' not supported in this configuration.
> > Which configuration parameter should be enabled in the source code to
> > build gcc in a way that the resulting gcc supports the -m32 option? thanks.
>
> --enable-multilib
--enable-targets=all even.
> But as already observed, you need 32-bit user space libraries.
And powerpcle-* has never been supported very well. No one tests it
regularly, to start. There never was a real supported Linux port for
this, either.
Segher
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-02-23 19:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23 8:05 About Multilib yuucyf
2024-02-23 8:35 ` Kai Ruottu
2024-02-23 8:39 ` Kai Ruottu
2024-02-23 10:01 ` Jonathan Wakely
2024-02-23 19:32 ` Segher Boessenkool
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).