[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47571] Problem entering umlaut in command lin
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #47571] Problem entering umlaut in command line |
Date: |
Fri, 7 Apr 2017 08:38:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #31, bug #47571 (project octave):
Something like this may work:
diff -r 988745446d56 src/default-octave.mk
--- a/src/default-octave.mk Mon Apr 03 07:52:35 2017 -0400
+++ b/src/default-octave.mk Fri Apr 07 08:32:08 2017 -0400
@@ -115,7 +115,10 @@
else
$(PKG)_PREFIX := '$(HOST_PREFIX)'
$(PKG)_EXTRA_CONFIGURE_OPTIONS := \
- LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)
-L$($(PKG)_QTDIR)/lib'
+ LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)
-L$($(PKG)_QTDIR)/lib' \
+ XTRA_CXXFLAGS='-DUNICODE -D_UNICODE' \
+ XTRA_CFLAGS='-DUNICODE -D_UNICODE' \
+ XTRA_CRUFT_SH_LDFLAGS='-municode'
endif
However, I believe a extern "C" wmain() function is also then required.
In addition, there is also a high probability that a number of function calls
(maybe only windows API calls) that were sending in strings, or constants will
then also need to change to put in thier wide character equivalents
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47571>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/