Re: [Geany-Devel] Building geany on Windows is slow; libgeany
Le 25/01/2018 à 04:38, Lex Trotman a écrit : > On 25 January 2018 at 22:19, Nick Treleavenwrote: >> Hi, >> I hadn't built Geany for a while, I found the MSYS2 build instructions with >> autotools. Libtool seems incredibly slow - mainly for linking but even >> compiling is slow. I've tried disabling AV to no effect. Are there any >> simple workarounds? The modify-rebuild cycle is painful now. > > Long time no hear. I can't help with Windows build speeds but can say > that the Linux build does not appear to be significantly slower > AFAICT. No. By default libtool might build object files twice, one static and one shared, just in case it might need both, but I disabled it ages ago as we don't need both (https://github.com/geany/geany/commit/723f4302e0d7bbd938c789b9730366f7c7e03080). Maybe check if libtool on Windows doesn't enforce something stupid like that. But it might also be that MSYS2 is slow or something, but that Thomas might know more about. Regards, Colomban ___ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Re: [Geany-Devel] Building geany on Windows is slow; libgeany
On 25 January 2018 at 22:19, Nick Treleavenwrote: > Hi, > I hadn't built Geany for a while, I found the MSYS2 build instructions with > autotools. Libtool seems incredibly slow - mainly for linking but even > compiling is slow. I've tried disabling AV to no effect. Are there any > simple workarounds? The modify-rebuild cycle is painful now. Hi Nick, Long time no hear. I can't help with Windows build speeds but can say that the Linux build does not appear to be significantly slower AFAICT. > > Also, I'm curious as to why .lo files are built and also interested as to > any info about libgeany. The idea behind libgeany is that it is a proper library that plugins link against and which hides all symbols that are not specifically exported (IIRC the way Windows always worked). The .lo files are object files compiled to be made part of the library. They are, IIUC, compiled with differing options to .o files, in particular -fPIC since libraries may be loaded in different address locations. I am not sure why that would be slower to compile though. It is possible that Geany is now compiled with different optimisations by default, -O2 I think since that does data flow analysis that activates a number of important warnings, but as I said the speed on Linux is not markedly affected. Cheers Lex > > Regards, > Nick > > ___ > Devel mailing list > Devel@lists.geany.org > https://lists.geany.org/cgi-bin/mailman/listinfo/devel > ___ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
[Geany-Devel] Building geany on Windows is slow; libgeany
Hi, I hadn't built Geany for a while, I found the MSYS2 build instructions with autotools. Libtool seems incredibly slow - mainly for linking but even compiling is slow. I've tried disabling AV to no effect. Are there any simple workarounds? The modify-rebuild cycle is painful now. Also, I'm curious as to why .lo files are built and also interested as to any info about libgeany. Regards, Nick ___ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel