Page 1 of 1

please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Posted: Wed May 06, 2015 5:21 am
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

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Posted: Wed May 06, 2015 11:44 am
by eranif
We only support building CodeLite as described on our wiki page:
http://codelite.org/Developers/Windows

Eran

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Posted: Tue May 12, 2015 5:54 am
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

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Posted: Tue May 12, 2015 11:51 am
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

Re: please build codelite x64 use -D__USE_MINGW_ANSI_STDIO

Posted: Tue May 12, 2015 5:14 pm
by xuiv
use mingw libc++ instead of msvcrt, thus codelite x64 can run on winxp/2003 x64.