[Geany] [PATCH] cross-compile issues.

Yura Siamashka yurand2 at xxxxx
Fri Feb 22 11:33:33 UTC 2008


Hi

On Fri, 2008-02-22 at 11:04 +0100, Enrico Tröger wrote:
> On Thu, 21 Feb 2008 23:23:10 +0200, Yura Siamashka <yurand2 at gmail.com>
> wrote:
> 

> And I also mentioned the fnmatch when I wrote:
> "After that, you should have an executable in the src directory named
> geany.exe. If you got some linker errors like undefined reference to
> `_fnmatch' or undefined reference to `_lrealpath', you need another
> version of libiberty."
> 
> Unfortunately, the link to the working libitery.a.gz was broken but I
> fixed it and it should work again.
Attached patch check for fnmatch presence in libitery for mingw and
suggest to update it if it is not. Probably the same should be done for
lrealpath?

> 
> And I added your fix_pkgconfig.sh script on the cross-compile wiki page,
> thank you.
> 
> Well, I got my cross-compile setup working again and committed a bunch
> of changes. It's probably not yet perfect but it should be better:
> - some optimisations in src/Makefile.am
> - synced the list of Windows libraries to link against with the ones
> from makefile.win32
> - removed unnecessary -I /usr/local/cross-tools from
> scintilla/Makefile.am
> - I had to replace $(host)-windres with $(host-alias)-windres. The
> variables have the following values on my system:
> host = i386-pc-mingw32
> host_alias = i386-mingw32
> So, $(host)-windres would be i386-pc-mingw32-windres but we need
> i386-mingw32-windres (without the "pc"). I'm not sure how portable this
> is, please test it whether it works on your machine.
It works, both host and host alias is "i586-pc-mingw32" on my machine.


-- 
Best regards,
Yura Siamashka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fnmatch_mingw.patch
Type: text/x-patch
Size: 432 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080222/45b59291/attachment.bin>


More information about the Users mailing list