[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake cross compile on Linux

From: Ken Perl
Subject: Re: automake cross compile on Linux
Date: Mon, 30 Nov 2009 20:48:25 +0800

i586-mingw32msvc-gcc works fine, I just install it from apt-get.

I upgraded automake to 1:1.11-1 and also upgrade autoconf on Debian
and now I can't reproduce my previous post issue anymore, thanks for
your help.

On Mon, Nov 30, 2009 at 3:32 AM, Ralf Wildenhues <address@hidden> wrote:
> Hi Ken,
> * Ken Perl wrote on Sun, Nov 29, 2009 at 07:11:11AM CET:
>> I may configure; make successfully on Linux, but when I tried to build
>> it for win32 crossly on Linux, I have trouble, see below steps,
>> ./configure --build i686-pc-linux-gnu --host i586-mingw32msvc
>> make
>> i586-mingw32msvc-gcc  -g -O2   -o hello.exe hello.o
>> hello.o: In function `main':
>> /home/pgy/c/gtk/test/hello.c:4: undefined reference to `puts'
>> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/lib/libmingw32.a(main.o):(.text+0x85):
>> undefined reference to address@hidden'
>> collect2: ld returned 1 exit status
> Hmm, did you build that i586-mingw32msvc-gcc yourself?  How was it
> configured?
> This doesn't look like an autotools bug to me.  If you take your hello.c
> and just run
>  i586-mingw32msvc-gcc -o hello.exe hello.c
> without involving make, autoconf, nor automake, it seems it would still
> fail; we need to find out why.
> Cheers,
> Ralf

perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]