[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #17724: Please provide 32-Bit cross-compiler (gcc-x86) on the 64-Bit (x64) 
From:       "Haiku" <trac () haiku-os ! org>
Date:       2022-04-28 15:30:01
Message-ID: 063.842c15f7dfd4271d3f70f3852a5f1365 () haiku-os ! org
[Download RAW message or body]

--===============0339867329525656004==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

#17724: Please provide 32-Bit cross-compiler (gcc-x86) on the 64-Bit (x64) =
platform
---------------------------+-------------------------
  Reporter:  johnny_sokko  |      Owner:  nobody
      Type:  enhancement   |     Status:  new
  Priority:  normal        |  Milestone:  Unscheduled
 Component:  Build System  |    Version:  R1/beta3
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  x86-64        |
---------------------------+-------------------------
Description changed by johnny_sokko:

Old description:

> Hello,
>
> it would be really helpful, if there were binary packages to install the
> 32-Bit cross-compiler (gcc-x86) on the 64-Bit (x64) platform via
> `pkgman`, so that software developers can easily build 32-Bit binaries on
> the 64-Bit system and don't have to keep a separate 32-Bit system around.
>
> On Linux systems (e.g. Debian), we can simply install package
> "crossbuild-essential-i386" on the x64 system, via APT package manager,
> in order to get the fully working `i686-linux-gnu-gcc` cross-compiler.
>
> TTBOMK, on Haiku, the only way to get the `gcc-x86` corss-compiler on the
> 64-Bit system is by checking out "buildtools" from the Git and building
> it with the following command:
>
> ./configure --cross-tools-source ../buildtools --build-cross-tools x86
>
> ...but this takes several hours to complete. And, even more important, it
> ends up with a compiler that is missing the required header files and
> libraries - not very useful. Only way to get the compiler working for me
> was by copying the header files and libraries over from a 32-Bit Haiku
> system **and** manually setting the `--sysroot` when calling the
> compiler. I think that this is quite "hacky" and cumbersome.
>
> So, again, a "gcc-x86" package that works 'out-of-the-box' would be much
> appreciated :-)
>
> Thank you!
>

> (If there is a better way that I didn't realize, please excuse)

New description:

 Hello,

 it would be really helpful, if there were binary packages to install the
 32-Bit cross-compiler (gcc-x86) on the 64-Bit (x64) Haiku platform via
 `pkgman`, so that software developers can easily build 32-Bit binaries on
 the 64-Bit system and don't have to keep a separate 32-Bit system around.

 On Linux systems (e.g. Debian), we can simply install package "crossbuild-
 essential-i386" on the x64 system, via APT package manager, in order to
 get the fully working `i686-linux-gnu-gcc` cross-compiler.

 TTBOMK, on Haiku, the only way to get the `gcc-x86` corss-compiler on the
 64-Bit system is by checking out "buildtools" from the Git and building it
 with the following command:

 ./configure --cross-tools-source ../buildtools --build-cross-tools x86

 ...but this takes several hours to complete. And, even more important, it
 ends up with a compiler that is missing the required header files and
 libraries - not very useful. Only way to get the compiler working for me
 was by copying the header files and libraries over from a 32-Bit Haiku
 system **and** manually setting the `--sysroot` when calling the compiler.
 I think that this is quite "hacky" and cumbersome.

 So, again, a "gcc-x86" package that works 'out-of-the-box' would be much
 appreciated :-)

 Thank you!


 (If there is a better way that I didn't realize, please excuse)

--
-- =

Ticket URL: <https://dev.haiku-os.org/ticket/17724#comment:8>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--===============0339867329525656004==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic