[flext] autotools builders - flext and gnu/windows

Thomas Grill gr at grrrr.org
Mon Apr 4 14:27:52 CEST 2011


hi dmotd, many thanks for your efforts,

> mingw (gcc 4.5.2):
> with both your buildsys (cmd prompt) and autoconf (msys shell),  
> mingw will build all the static libs, but fails at the linker stage  
> when building the dynamic library, with a bunch of undefined  
> references (see attachment).
>
> i have attempted to encourage the build further by passing linker  
> flags (-Wl,--as-needed and -Wl,--no-undefined *plus numerous others/ 
> combinations*) but nothing seems to make it budge. i'm not sure if  
> the compiler is being pedantic or i'm just not understanding  
> something.
>

I can remember that problem - it is connected to the way how global  
variables (like garray_class, s_float etc.) in Pd are defined for the  
linker.
I must have found a solution once....

> cygwin (gcc 3.4.4)
> cygwin breaks with your buildsys due to what appears to be an issue  
> with the environment (see attachment). with autoconf it acts much  
> like mingw - it can successfully build static libs but fails to make  
> the shared dll, a few more undefined references than with mingw (see  
> attachment).
>

The flext-build output seems to indicate a c++ namespace problem which  
should not be too hard to fix.
The autoconf output seems different, probably a mixture of problems.

i'm not sure if i can spare any time for that soon but it's good to  
know the weak spots.

all the best,
Thomas

--
Thomas Grill
http://grrrr.org
+43 699 19715543





More information about the flext mailing list