On Oct 6, 1:50 pm, mlutken <[EMAIL PROTECTED]> wrote:
> I build wx without unicode support and with /Zc:wchar_t- on Windows as
> you.
> However I did also:
> In order to get rid of problems when linking Mozilla libraries with
> others like wxWidgets libs
> we have totally disabled the detection/use of the the GCC -fshort-
> wchar option that Mozilla
> by default uses. This is done by changing the line in configure.in
> that originally read like this:
>
> ac_cv_have_usable_wchar_option_v2="yes"
> TO
> ac_cv_have_usable_wchar_option_v2="no"
>
> And then running the autoconf version 2.13 to generate a new configure
> script.
> To run autoconf just do:
> autoconf
> sh ./configure --prefix=../buildroot --enable-application=xulrunner --
> disable-javaxpcom --enable-cpp-rtti --enable-cpp-exceptions
> make
> make package
>

Just want to add that you also need to edit the pkg-config files
(*.pc.in or *.pc post installation) otherwise -fshort-wchar is still
supplied to the compiler. I spent some time trying to get
autoconf-2.13 for my system (openSuSE 11) but ended up editing the
configure script directly. Seems to be working fine... thanks!

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to