[Geany] [PATCH] cross-compile issues.

Enrico Tröger enrico.troeger at xxxxx
Sat Feb 23 16:47:56 UTC 2008


On Fri, 22 Feb 2008 13:33:33 +0200, Yura Siamashka <yurand2 at gmail.com>
wrote:

> 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
Thanks Yura, committed.

> lrealpath?
Hmm, we don't use lrealpath anymore. It was replaced by some better
code some time ago. I will remove the note from the wiki page.

> > 
> > 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.
Hmmm, then you'll get "i586-pc-mingw32-windres", is this how your
windres utility is called ?

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080223/8233ee1f/attachment.pgp>


More information about the Users mailing list