Hi guys,

I am using mingw-w64 gcc v4.8.2 installed under the /mingw32 directory
under mingw and I compile using msys/1.0 shell, or CMAKE from msys using
"MSYS Makefiles".
I adopted this after installing from a recipe and found it worked more
often than not in situations where plain mingw/msys (installed on same
computer) failed.  So I've been pretty happy with things but as my projects
get larger I need a better understanding of the general configuration and
what gcc expects - especially the linker utilities.

2 quick questions:
   Is MSYS2 really neccessary to work with mingw-m64 compilers? I've
managed OK with msys-1.0.

  I tried to overlay the 4.9.1 gcc-tools distribution on a /mingw32 tree
under my older mingw installation, but the failure of a configure (couldn't
determine default exec file) indicates I may need to do something more:
true? if so, what?

---------------------
  My current problem is from trying to make a shared library in
graphicsMagick,
this line is the first link attempt after compilation:
bin/sh ./libtool  --tag=CC   --mode=link gcc -O2 -mtune=pentium3 \
 (more flags) \
 -L/local32/lib -o magick/libGraphicsMagick.la -rpath
/build32/GM1.3.20share/lib \
  (long list of .lo files) \
  magick/magick_libGraphicsMagick_la-analyze.lo \
   XXX..analyze.lo -lwebp -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lbz2
-lxml2 -lz -lgdi32 -lm -lgomp -lpthread

/bin/grep: /usr/local/lib/libpng16.la: No such file or directory
/bin/sed: can't read /usr/local/lib/libpng16.la: No such file or directory
libtool: link: `/usr/local/lib/libpng16.la' is not a valid libtool archive
-------------------------------------------------------
  I'm guessing webp, freetype, jpeg and tiff were ready to load from the
compiler tree, and png16 was the first library to get
loaded from the library: -L/local32/lib=LDFLAGS  holds all of these but it
went to search  in /usr/local/lib. ???.
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to