I've tried to compile aria2c with gcc version 3.x, but seems that configure doesnt properly detect visibility feature; config.h shows:
/ Define to 1 or 0, depending whether the compiler supports simple visibility
but gcc 3.x fails:
i586-netware-gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden bindtextdom.c
cc1: unrecognized option `-fvisibility=hidden'
although this was a cross-complile, same happens when I try to compile a native Win32 version with MingW32 3.4.5 ...
even with 4.2.1 I see problems with visibility, although it doesnt break compilation....
see here for configure and compile logs:
Tested with aria2c-0.13.2+1 and aria2c-0.14.0b+20080617.
As you can see 0.14.0b additionally breaks at earlier place than 0.13.2+1.
I realize that aria2 is currently not ready yet for native win32 platform, but before looking further it would be nice if you could take a look at the configure whoes since I'm not that familiar with configure issues; specially the visibility issue would be great to have fixed.
Log in to post a comment.