Bluehost.com Web Hosting $6.95

./configure --host=mingw32 still uses gcc compiler

This is a discussion on ./configure --host=mingw32 still uses gcc compiler within the Linux General forums, part of the Linux Forums category; Hello, I need to cross-compile several applications for Windows using MinGW. The compilation is running under Ubuntu Linux. This ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-17-2007
wells_br@yahoo.com
 
Posts: n/a
Default ./configure --host=mingw32 still uses gcc compiler

Hello,
I need to cross-compile several applications for Windows using MinGW.
The compilation is running under Ubuntu Linux.

This works fine with for example RoadNav (http://
roadnav.sourceforge.net), the compiler i586-mingw32msvc-gcc and other
binaries are detected:
>./configure --host=i586-mingw32msvc --build=linux
>checking for a BSD-compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking for a thread-safe mkdir -p... /bin/mkdir -p
>checking for gawk... no
>checking for mawk... mawk
>checking whether make sets $(MAKE)... yes
>checking for i586-mingw32msvc-strip... i586-mingw32msvc-strip
>checking for style of include used by make... GNU
>checking for i586-mingw32msvc-gcc... i586-mingw32msvc-gcc
>checking for C compiler default output file name... a.exe
>checking whether the C compiler works... yes
>checking whether we are cross compiling... yes
>checking for suffix of executables... .exe
>...


However, for most other applications that I tried, the host system
type is reported correctly as i586-pc-mingw32msvc, but then the
standard gcc is used:
>./configure --host=i586-mingw32msvc --build=linux
>loading cache ./config.cache
>checking host system type... i586-pc-mingw32msvc
>checking host specific optimization flag... no
>checking for gcc... (cached) gcc
>checking whether the C compiler (gcc ) works... yes
>checking whether the C compiler (gcc ) is a cross-compiler... no
>checking whether we are using GNU C... (cached) yes


How do I get theses applications configured for MinGW?
What does it depend on, whether the application can actually be
configured for MinGW or whether the host flag is ignored?

Thanks
B.W.

(If you can point me to a newsgroup specific to GNU autotools, please
do so).

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0