Hi, when using "i686-w64-mingw32-gcc" then we probably should use i686-w64-mingw32-ar and i686-w64-mingw32-ranlib instead of ar and ranlib?
Fixing this might also solve this problem http://savannah.nongnu.org/bugs/?37489 René Gesendet: Montag, 09. September 2013 um 10:49 Uhr Von: "Joerg Wunsch" <j...@uriah.heep.sax.de> An: avrdude-dev@nongnu.org Betreff: Re: [avrdude-dev] Windows building advice As Joerg Wunsch wrote: > I just tried the script on my FreeBSD, and it still compiles. Will > try a Linux version later today. It stops here: i686-w64-mingw32-gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -L/usr/i686-w64-mingw32/lib -static -o avrdude.exe avrdude-main.o avrdude-term.o ./libavrdude.a -lm ./libavrdude.a: could not read symbols: Archive has no index; run ranlib to add one Even though before, ranlib did run on the archive: ar cru libavrdude.a libavrdude_a-config_gram.o libavrdude_a-lexer.o libavrdude_a-arduino.o libavrdude_a-avr.o libavrdude_a-avr910.o libavrdude_a-avrftdi.o libavrdude_a-avrftdi_tpi.o libavrdude_a-avrpart.o libavrdude_a-bitbang.o libavrdude_a-buspirate.o libavrdude_a-butterfly.o libavrdude_a-config.o libavrdude_a-confwin.o libavrdude_a-crc16.o libavrdude_a-fileio.o libavrdude_a-ft245r.o libavrdude_a-jtagmkI.o libavrdude_a-jtagmkII.o libavrdude_a-jtag3.o libavrdude_a-linuxgpio.o libavrdude_a-lists.o libavrdude_a-par.o libavrdude_a-pgm.o libavrdude_a-pgm_type.o libavrdude_a-pickit2.o libavrdude_a-pindefs.o libavrdude_a-ppi.o libavrdude_a-ppiwin.o libavrdude_a-safemode.o libavrdude_a-serbb_posix.o libavrdude_a-serbb_win32.o libavrdude_a-ser_avrdoper.o libavrdude_a-ser_posix.o libavrdude_a-ser_win32.o libavrdude_a-stk500.o libavrdude_a-stk500v2.o libavrdude_a-stk500generic.o libavrdude_a-usbasp.o libavrdude_a-usb_libusb.o libavrdude_a-usbtiny.o libavrdude_a-update.o libavrdude_a-wiring.o ranlib libavrdude.a For whatever reason, one has to explicitly run i686-w64-mingw32-ranlib libavrdude.a If someone has ideas, how to fix this in configure.ac, they are certainly welcome. -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL [1]http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org [2]https://lists.nongnu.org/mailman/listinfo/avrdude-dev References 1. http://www.sax.de/~joerg/ 2. https://lists.nongnu.org/mailman/listinfo/avrdude-dev _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avrdude-dev