please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Discussion about CodeLite development process and patches
xuiv
CodeLite Enthusiast
Posts: 16
Joined: Fri Nov 22, 2013 3:21 am
Genuine User: Yes
IDE Question: c++
Contact:

please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Post by xuiv »

the 64bit codelite couldn't run on win2003x64, cann't link _wsprintf.
please build wxwidgets and codelite x64 use:

CXXFLAGS ?= -fno-keep-inline-dllexport -std=gnu++11

CPPFLAGS ?= -D__USE_MINGW_ANSI_STDIO
Last edited by xuiv on Tue May 12, 2015 5:59 am, edited 1 time in total.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Post by eranif »

We only support building CodeLite as described on our wiki page:
http://codelite.org/Developers/Windows

Eran
Make sure you have read the HOW TO POST thread
xuiv
CodeLite Enthusiast
Posts: 16
Joined: Fri Nov 22, 2013 3:21 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Post by xuiv »

mingw32-make -j4 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=release VENDOR=cl CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11" CPPFLAGS="-D__USE_MINGW_ANSI_STDIO" MONOLITHIC=1
mingw32-make -j4 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=debug VENDOR=cl CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11" CPPFLAGS="-D__USE_MINGW_ANSI_STDIO" MONOLITHIC=1
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Post by eranif »

xuiv wrote:mingw32-make -j4 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=release VENDOR=cl CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11" CPPFLAGS="-D__USE_MINGW_ANSI_STDIO" MONOLITHIC=1
mingw32-make -j4 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=debug VENDOR=cl CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11" CPPFLAGS="-D__USE_MINGW_ANSI_STDIO" MONOLITHIC=1
I don't know whats the purpose of these lines, as I mentioned above. We only support building CodeLite as described in our wiki page

Eran
Make sure you have read the HOW TO POST thread
xuiv
CodeLite Enthusiast
Posts: 16
Joined: Fri Nov 22, 2013 3:21 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Post by xuiv »

use mingw libc++ instead of msvcrt, thus codelite x64 can run on winxp/2003 x64.
Post Reply