#20 link order cygwin

developer
open
5
2012-06-13
2011-11-13
flashpixx
No

Hello,

I'm using the 3.9.51 Atlas version with LAPack under Cygwin. I've got some linker problems, in some examples everything works fine, the code will be compiled and I add the -l flags with this order if the libraries "lapack", "cblas", "f77blas", "atlas", "gfortran"., and the linker creates the executable. On some examples that use similar code the g++ creates an linker error:

/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16'

If I remove the LAPack / Atlas code the source can be compiled and linked without any errors. Hope that anybody has some ideas to solve the problem

Thanks a lot

Phil

Discussion

  • Hi,

    I am very sorry for the looong delay, but I think I have gotten Windows fully supported in ATLAS 3.9.79. Using it, you can build 32-bit libs using either the cygwin compilers or the MinGW compilers, though you still need cygwin installed. The ATLAS installation guide that comes with the tarfile has Windows-specific installation instructions.

    Can you try 3.9.79 and let me know if it works for you?

    Many thanks,
    Clint

     
    • assigned_to: nobody --> rwhaley