From: Amir S. <ki...@gm...> - 2012-12-13 23:25:02
|
We want to remove the UNICODE=no option, so INSTALL probably needs to be updated. The plan is to have makensis.exe always unicode capable, but able to choose between ANSI and Unicode installers. On Wed, Dec 12, 2012 at 1:07 PM, Oleksandr Gavenko <gav...@gm...>wrote: > Previously I successfully build with 'UNICODE=yes' (which is by default for > trunk). > > I try to build by: > > $ scons UNICODE=no > > and get error: > > g++ -o build\release\MakeLangId\MakeLangId.exe -static-libgcc > -static-libstdc++ \ > -Wl,--file-alignment,512 > -Wl,-Map,build\release\MakeLangId\MakeLangId.map \ > -mwindows -Wl,--file-alignment,512 -s -Wl,--subsystem,windows > -Wl,-e_NSISWinMainNOCRT \ > build\release\MakeLangId\MakeLangId.o > build\release\MakeLangId\resource-rc.o -lkernel32 -luser32 -lcomctl32 > > > c:/opt/mingw/bin/../lib/gcc/mingw32/4.7.0/../../../libmingw32.a(main.o):main.c:(.text.startup+0xa7): > undefined reference to `_WinMain@16' > collect2.exe: error: ld returned 1 exit status > scons: *** [build\release\MakeLangId\MakeLangId.exe] Error 1 > scons: building terminated because of errors. > > Seems that they come from '-Wl,--subsystem,windows' and '-mwindows' flags > and > '-Wl,-e_NSISWinMainNOCRT' wasn't got in account. But for 'UNICODE=yes' > scons > emit same command line call. Very strange... > > 'INSTALL' file written in so way that seems that 'UNICODE=no' is supported > configuration for trunk. Is that true? > > -- > Best regards! > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Nsis-devel mailing list > Nsi...@li... > https://lists.sourceforge.net/lists/listinfo/nsis-devel > |