Hi Victor,

 Yes, I know.

  I'm not sure if we should abandon mingw.org. But we are considering
changes in the Windows distribution for IUP 4.0. Thanks for the feedback.

Best,
Scuri


On Sun, Dec 13, 2015 at 5:23 PM, Victor Bombi <son...@telefonica.net> wrote:

> Hi Antonio,
>
> I am not sure if you know that mingw-w64 can be used to build 32 bits
> binaries.
> It is better than original mingw that is a bit outdated.
> I have never been able to use your 32bit binaries because all my
> compilation is done with mingw-w64 and there is dll collision.
>
> Best
> victor bombi
>
> ----- Original Message -----
> *From:* Antonio Scuri <antonio.sc...@gmail.com>
> *To:* IUP discussion list. <iup-users@lists.sourceforge.net>
> *Cc:* Lee Shallis <zxu...@gmail.com>
> *Sent:* Thursday, December 10, 2015 2:47 PM
> *Subject:* [Iup-users] Mingw4 and Mingw4_64
>
>  Hi,
>
>   Here is a simple guide for building with Mingw. Just remember that for
> 32 bits we use http://mingw.org and for 64 bits we use
> http://mingw-w64.org.
>
>   In a command line at "iup/html/examples/C":
>
> ----------- for 32 bits --------------------
>
> Using static libraries:
>
>   gcc -o sample.exe sample.c -I../../../include -L../../../lib/mingw4
> -liup -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
> -lshell32 -lole32 -loleaut32 -luuid -lcomctl32
>
> Using dynamic libraries:
>
>   gcc -o sample.exe sample.c -I../../../include -L../../../lib/dllw4 -liup
>
> Using dynamic libraries with no console:
>
>   gcc -Wl,-subsystem,windows -o sample.exe sample.c -I../../../include
> -L../../../lib/dllw4 -liupstub -liup
>
> Adding a resource file:
>
>   windres -O coff -o iup.res ../../../etc/iup.rc
>   gcc -Wl,-subsystem,windows -o sample.exe sample.c iup.res
> -I../../../include -L../../../lib/dllw4 -liupstub -liup
>
> ----------- 64 bits --------------------
> PATH now points to mingw64 bin
> (it changes just a bit)
>
> Using static libraries:
>
>   gcc -o sample.exe sample.c -I../../../include -L../../../lib/mingw4_64
> -liup -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
> -lshell32 -lole32 -loleaut32 -luuid -lcomctl32
>
> Using dynamic libraries:
>
>   gcc -o sample.exe sample.c -I../../../include -L../../../lib/dllw4_64
> -liup
>
> Using dynamic libraries with no console:
>
>   gcc -Wl,-subsystem,windows -o sample.exe sample.c -I../../../include
> -L../../../lib/dllw4_64 -liupstub -liup
>
> Adding a resource file:
>
>   windres -D TEC_64 -O coff -o iup.res ../../../etc/iup.rc
>   gcc -Wl,-subsystem,windows -o sample.exe sample.c iup.res
> -I../../../include -L../../../lib/dllw4_64 -liupstub -liup
>
> -------------------------------------------------
>
>   Notice that I used folders with the same names used in the download
> packages.
>
> Best Regards,
> Antonio Scuri
>
>
>
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
>
> ------------------------------
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to