* need help with gcc -m32
@ 2019-04-04 18:05 Guy fleury
2019-04-08 10:33 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Guy fleury @ 2019-04-04 18:05 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
hi all,
How can i built binarie for 32 bits i am on 64 bits.
with gcc i get:
---------------------------------------------------------
guy@guixSd ~/tuto/c$ gcc -m32 -o hello hello.c
In file included from /home/guy/.guix-profile/include/features.h:452,
from
/home/guy/.guix-profile/include/bits/libc-header-start.h:33,
from /home/guy/.guix-profile/include/stdio.h:27,
from hello.c:1:
/home/guy/.guix-profile/include/gnu/stubs.h:7:11: erreur fatale:
gnu/stubs-32.h : Aucun fichier ou dossier de ce type
# include <gnu/stubs-32.h>
^~~~~~~~~~~~~~~~
compilation terminée.
-------------------------------------------------------------------------------------------------------
which package to download?
[-- Attachment #2: Type: text/html, Size: 1049 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need help with gcc -m32
2019-04-04 18:05 need help with gcc -m32 Guy fleury
@ 2019-04-08 10:33 ` Ludovic Courtès
2019-04-08 13:45 ` Guy fleury
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-04-08 10:33 UTC (permalink / raw)
To: Guy fleury; +Cc: help-guix
Bonjour,
Guy fleury <hoonandon@gmail.com> skribis:
> How can i built binarie for 32 bits i am on 64 bits.
> with gcc i get:
> ---------------------------------------------------------
> guy@guixSd ~/tuto/c$ gcc -m32 -o hello hello.c
> In file included from /home/guy/.guix-profile/include/features.h:452,
> from
> /home/guy/.guix-profile/include/bits/libc-header-start.h:33,
> from /home/guy/.guix-profile/include/stdio.h:27,
> from hello.c:1:
> /home/guy/.guix-profile/include/gnu/stubs.h:7:11: erreur fatale:
> gnu/stubs-32.h : Aucun fichier ou dossier de ce type
> # include <gnu/stubs-32.h>
> ^~~~~~~~~~~~~~~~
> compilation terminée.
> -------------------------------------------------------------------------------------------------------
>
> which package to download?
Our GCC toolchain does not support ‘-m32’. Instead, to build a 32-bit
program on a 64-bit machine, you would do something like:
guix environment --ad-hoc gcc-toolchain -s i686-linux --pure
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need help with gcc -m32
2019-04-08 10:33 ` Ludovic Courtès
@ 2019-04-08 13:45 ` Guy fleury
0 siblings, 0 replies; 3+ messages in thread
From: Guy fleury @ 2019-04-08 13:45 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]
Merci beaucoup!
Le 8 avr. 2019 12:33, "Ludovic Courtès" <ludo@gnu.org> a écrit :
> Bonjour,
>
> Guy fleury <hoonandon@gmail.com> skribis:
>
> > How can i built binarie for 32 bits i am on 64 bits.
> > with gcc i get:
> > ---------------------------------------------------------
> > guy@guixSd ~/tuto/c$ gcc -m32 -o hello hello.c
> > In file included from /home/guy/.guix-profile/include/features.h:452,
> > from
> > /home/guy/.guix-profile/include/bits/libc-header-start.h:33,
> > from /home/guy/.guix-profile/include/stdio.h:27,
> > from hello.c:1:
> > /home/guy/.guix-profile/include/gnu/stubs.h:7:11: erreur fatale:
> > gnu/stubs-32.h : Aucun fichier ou dossier de ce type
> > # include <gnu/stubs-32.h>
> > ^~~~~~~~~~~~~~~~
> > compilation terminée.
> > ------------------------------------------------------------
> -------------------------------------------
> >
> > which package to download?
>
> Our GCC toolchain does not support ‘-m32’. Instead, to build a 32-bit
> program on a 64-bit machine, you would do something like:
>
> guix environment --ad-hoc gcc-toolchain -s i686-linux --pure
>
> HTH!
>
> Ludo’.
>
[-- Attachment #2: Type: text/html, Size: 1712 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-08 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-04 18:05 need help with gcc -m32 Guy fleury
2019-04-08 10:33 ` Ludovic Courtès
2019-04-08 13:45 ` Guy fleury
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.