From: Anders <and...@us...> - 2012-12-13 23:29:25
|
Support for compiling with UNICODE=no will go away, we cannot maintain 4 versions of makensis (Ansi and Unicode on Windows and Posix) r6218 or something like that is probably a good spot if you wanted to use something post 2.46 to compile installers on Win9x... On Wed, Dec 12, 2012 at 10: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 |