avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] SVN trunk fails to link


From: Joerg Wunsch
Subject: Re: [avrdude-dev] SVN trunk fails to link
Date: Fri, 20 Jan 2012 11:33:47 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As René Liebscher wrote:

> As your logs show different functions/files missing (and no failed compiles
> of the missing files), maybe ranlib did not correct run with your archive
> (libavrdude.a).

Well, I just took the log of the failing link stage, not the prior
compilation.

Strange, I thought it eventually rebuilt everything, but apparently, it
didn't, and required a "make clean".

OK, nevermind then. ;-)  Sorry for the false alarm, I should have tried
that "make clean" before I guess.


Btw., I can now successfully cross-compile a Win32 binary in FreeBSD,
using the following steps:

. install mingw32-binutils, mingw32-bin-msvcrt, and mingw32-gcc ports
  (for other systems, pick the respective equivalents)

. unpack libusb-win32-src-1.2.5.0, compile it using

  gmake host_prefix=mingw32

. install src/lusb0_usb.h into mingw32's include directory, and
  libusb.a into mingw32's lib directory

. configure it with

  env CC=mingw32-gcc ./configure --target=i586-mingw32 --host=`./config.guess`

. compile it

Similarly, it should be possible to cross-compile it on Linux and
MacOS X that way.

That means I can provide a Win32 binary release next time.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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