Re: configure with cross compiler
James Michael DuPont <[email protected]> Tue, 5 Nov 2002 09:31:37 -0800 (PST)
| Newsgroups | gmane.comp.gnu.mingw.user,gmane.linux.debian.ports.windows,gmane.linux.debian.ports.windows |
|---|---|
| Message-ID | <[email protected]> |
--- Earnie Boyd <[email protected]> wrote: > [email protected] wrote: > > I've installed the Debian mingw32 package, but can't figure out how > to build software with it. > > > > The binaries appear to be installed in /usr/i586-mingw32msvc/bin, > and running i586-mingw32msvc-gcc -v gives > > > > Reading specs from /usr/lib/gcc-lib/i586-mingw32msvc/3.2/specs > > Configured with: > /home/ron/devel/debian/mingw32/mingw32-3.2/build_dir/src/gcc-3.2-20020817-1/configure > -v --prefix=/usr --target=i586-mingw32msvc --enable-languages=c,c++ > --enable-threads --disable-multilib > --enable-version-specific-runtime-libs > > Thread model: win32 > > gcc version 3.2 (mingw special 20020817-1) > > > > So that's alright. But how do I go about getting a configure script > to use these binaries instead of the native ones? I've tried just > about every combination of --host, --target, and --build that I can > think of, and I've read > http://www.libsdl.org/extras/win32/cross/README.txt , and that hasn't > seemed to help me either. Can anyone point me in the right direction? > > > > Based on the directory configuration that you give above you should > be > able to just do `./configure --host=i586-mingw32msvc' but that may > be > dependent on the version of autoconf that configure was built with. > I > would tend to do `./configure --host=i586-mingw32msvc > --target=i586-mingw32msvc --build=`./config.guess`' to remove any > doubt > about what the default is. I aggree, if you want to make really simple easy to compile packages, you might want to check out the the mingw32/debian cross compilers stuff we have been porting lots of packages to the cross compiler http://introspector.sourceforge.net/dia_win32.htm mike ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ MinGW-users mailing list [email protected] You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users