Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/05/2017, à 04:51

nonosto

Installation de i386-mingw32

Hello World

J'ai besoin d'un cross compiler, sur le tuto que je suit il est conseillé i386-mingw32, mais il est introuvable, en tout cas pas de méthode simple (APT ou Synaptic je suis un béotiens). Par exemple sur Synaptic avec la clef mingw je n'ai que des machin i686 ou w64.....

Auriez une idée pour installé i386-mingw32 facilement (j'ai l'impression qu'il est obsolète)? J'ai installé les versions proposé par Synaptic mais je n'arrive pas à lancer le bouzin....
A un moment je doit executer ce bout commande je sais que c'est que sa pose probleme:

./configure --prefix=/usr/local/filename --host=i386-mingw32
make all install

Par quoi je dois remplacer i386-mingw32 pour que sa tourne SVP?

Merci

Dernière modification par nonosto (Le 07/05/2017, à 16:52)

Hors ligne

#2 Le 09/05/2017, à 14:52

nonosto

Re : Installation de i386-mingw32

bon je crois avoir trouvé:

./configure --prefix=/usr/local/filename --host=i686-w64-mingw32
make all install

Maintenant d'autre problèmes se dévoilent, lors de la build:

 
cd /usr/home/filename
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.6
./autogen.sh
./configure --prefix=/usr/local/filename --host=i386-mingw32
make all install

Au moment la ligne ./autogen.sh s'execute j'ai le rapport suivant:

magnum@MAGNUM-UBUNTU:~/OpenXDK$ ./autogen.sh
Generating configuration files for , please wait...
  aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  autoconf
  automake --add-missing
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:2: [url]http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation[/url]
configure.in:8: installing './compile'
configure.in:6: installing './config.guess'
configure.in:6: installing './config.sub'
configure.in:2: installing './install-sh'
configure.in:2: installing './missing'
Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am: installing './INSTALL'
src/cxbe/Makefile.am: installing './depcomp'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/hal/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/openxdk/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/usb/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/usb/Makefile.am:7: warning: source file 'host/ohci-hcd.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/usb/Makefile.am:7: warning: source file 'core/message.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/hcd.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/hcd-pci.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/hub.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/usb.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/config.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/urb.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/buffer_simple.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'core/usb-debug.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'sys/BootUSB.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'sys/linuxwrapper.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'sys/xpad.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'sys/xremote.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'sys/usbkey.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'sys/usbmouse.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'misc/misc.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'misc/pci.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/usb/Makefile.am:7: warning: source file 'misc/malloc.c' is in a subdirectory,
src/usb/Makefile.am:7: but option 'subdir-objects' is disabled
src/xboxkrnl/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Auriez vous une idées pour corriger cela SVP?

Merci

Hors ligne

#3 Le 10/05/2017, à 20:48

claudius01

Re : Installation de i386-mingw32

Bonsoir,

Je compatis à te lire, nonosto, mais quand tu parles de cross compilation, je suppose que tu souhaites produire du code Windows depuis Linux ? (à confirmer / à infirmer)

Si c'est le cas, je te confirme que MinGW le permet mais peut être en s'appuyant sur MinGW-w64 - for 32 and 64 bit Windows qui semble pas trop vieux ;-)

En espérant, t'avoir aidé, à suivre...

Hors ligne