Home » Community » U++ community news and announcements » 2020.1 officially released
|
|
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54136 is a reply to message #54135] |
Tue, 02 June 2020 21:20   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 02 June 2020 15:07Novo wrote on Tue, 02 June 2020 18:56mirek wrote on Tue, 02 June 2020 11:40Can you post .bm?
I fixed problem with clang++ by using x86_64-w64-mingw32-clang++ instead of it. Before that I was trying to use /home/ssg/.local/soft/llvm-mingw/llvm-mingw-20200325-ubuntu- 18.04/bin/clang++ as a compiler ... Plain clang++ didn't work by definition.
A new problem is that umk is passing POSIX and LINUX flags to x86_64-w64-mingw32-clang++ because it runs on Linux ... 
Basically, this makes cross-compilation impossible with the current umk ...
Hm, we probably need to add flags override to .bm, right?
IMHO, we need an option for umk. Something like "target platform", "-t", I guess. Possible values should be "windows", "linux", "mac", "native", e.t.c.
Another useful option for umk on Windows is "use POSIX-like configuration files". I'm already doing this, but I manually change source code for that.
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54137 is a reply to message #53839] |
Tue, 02 June 2020 21:26   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
This is how a command line looks at the moment ...
x86_64-w64-mingw32-clang++ -c `pkg-config --cflags freetype2` `pkg-config --cflags x11` `pkg-config --cflags xinerama` `pkg-config --cflags xrender` `pkg-config --cflags xft` `pkg-config --cflags xdmcp` `pkg-config --cflags fontconfig` `pkg-config --cflags xcb` `pkg-config --cflags xext` `pkg-config --cflags gtk+-3.0` `pkg-config --cflags libnotify` `pkg-config --cflags expat` `pkg-config --cflags libpng` -I"/home/ssg/.local/soft/bb-worker/worker/mingw-sdb/build" -I"/home/ssg/dvlp/cpp/code/upp/git/bazaar" -I"/home/ssg/dvlp/cpp/code/upp/git/uppsrc" -I"/home/ssg/.wine/drive_c/local/apps/upp/bin/SDL2/include" -I"/home/ssg/.wine/drive_c/local/apps/upp/bin/pgsql/x64/include" -I"/home/ssg/.wine/drive_c/local/apps/upp/bin/mysql/include" -I"/home/ssg/.local/soft/bb-worker/worker/mingw-sdb/build/dvlp/plugin/sol3" -I"/home/ssg/.local/soft/bb-worker/worker/mingw-sdb/build/dvlp/plugin/lua/lib" -I"/home/ssg/.local/soft/bb-worker/worker/mingw-sdb/build/.cache/upp.out/Painter/CLANGcpp17.Debug.Debug_Full.Gui.Shared" -DflagGUI -DflagCLANG -DflagDEBUG -DflagSHARED -DflagDEBUG_FULL -DflagBLITZ -DflagPOSIX -DflagLINUX -ggdb -g2 -fexceptions -D_DEBUG -O0 -x c++ -Wall -Wno-logical-op-parentheses -std=c++17 "/home/ssg/dvlp/cpp/code/upp/git/uppsrc/Painter/SvgUtil.cpp" -o "/home/ssg/.local/soft/bb-worker/worker/mingw-sdb/build/.cache/upp.out/Painter/CLANGcpp17.Debug.Debug_Full.Gui.Shared/SvgUtil.o"
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54138 is a reply to message #54136] |
Tue, 02 June 2020 21:27   |
 |
mirek
Messages: 14290 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Tue, 02 June 2020 21:20mirek wrote on Tue, 02 June 2020 15:07Novo wrote on Tue, 02 June 2020 18:56mirek wrote on Tue, 02 June 2020 11:40Can you post .bm?
I fixed problem with clang++ by using x86_64-w64-mingw32-clang++ instead of it. Before that I was trying to use /home/ssg/.local/soft/llvm-mingw/llvm-mingw-20200325-ubuntu- 18.04/bin/clang++ as a compiler ... Plain clang++ didn't work by definition.
A new problem is that umk is passing POSIX and LINUX flags to x86_64-w64-mingw32-clang++ because it runs on Linux ... 
Basically, this makes cross-compilation impossible with the current umk ...
Hm, we probably need to add flags override to .bm, right?
IMHO, we need an option for umk. Something like "target platform", "-t", I guess. Possible values should be "windows", "linux", "mac", "native", e.t.c.
Another useful option for umk on Windows is "use POSIX-like configuration files". I'm already doing this, but I manually change source code for that.
Well, we already can add flags via "Common fixed flags". I think all we need is "override" option that would avoid adding platform flags before adding these fixed. And then of replace any PLATFORM_ #ifdefs in GCC builder with if(HasFlag(...
|
|
|
|
| Re: 2020.1 officially released [message #54139 is a reply to message #54138] |
Tue, 02 June 2020 21:33   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 02 June 2020 15:27
Well, we already can add flags via "Common fixed flags". I think all we need is "override" option that would avoid adding platform flags before adding these fixed. And then of replace any PLATFORM_ #ifdefs in GCC builder with if(HasFlag(...
IMHO, that won't affect stuff like `pkg-config --cflags x11` 
This is done by umk...
Edited: Or I'm missing something.
Regards,
Novo
[Updated on: Tue, 02 June 2020 21:37] Report message to a moderator
|
|
|
|
| Re: 2020.1 officially released [message #54140 is a reply to message #53839] |
Tue, 02 June 2020 21:39   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
Another thing. umk is ignoring options from bm-files.
Even if I enable BLITZ in a bm-file, I still have to pass "-b" to umk...
Edited: I need to double-check that. Probably, I've got lost among ide, theide, and umk configuration folders ...
Edited again: Yes, umk ignores settings from bm-files.
Regards,
Novo
[Updated on: Wed, 03 June 2020 06:41] Report message to a moderator
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54142 is a reply to message #54138] |
Wed, 03 June 2020 07:37   |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
mirek wrote on Tue, 02 June 2020 19:27
Well, we already can add flags via "Common fixed flags". I think all we need is "override" option that would avoid adding platform flags before adding these fixed.
As far as I know, there is a possibility to override platform related flags. This feature is implemented in LocalHost::AddFlags and LocalHost::HasPlatformFlag methods [1, 2, 3].
For example, possible to generate Makefile(s) for WIN32 platform, e.g.:
./umk uppsrc ide CLANG -r -M=Makefile +WIN32,GUI
or FreeBSD:
./umk uppsrc ide CLANG -rs -M=BSDMakefile +POSIX,BSD,FREEBSD,GUI
or Linux:
./umk uppsrc ide CLANG -rs -M=GNUMakefile +POSIX,LINUX,GUI
etc.
There is just a need to use correct build method for them. But I didn't test this for cross-platform/remote build(s), just for Makefile generation.
May suggest to add "OSX" flag to platformFlags also (based on order of appearance in LocalHost::AddFlags method). Patch attached.
[Updated on: Wed, 03 June 2020 08:28] Report message to a moderator
|
|
|
|
| Re: 2020.1 officially released [message #54143 is a reply to message #54136] |
Wed, 03 June 2020 09:28   |
Tom1
Messages: 1319 Registered: March 2007
|
Ultimate Contributor |
|
|
Quote:
IMHO, we need an option for umk. Something like "target platform", "-t", I guess. Possible values should be "windows", "linux", "mac", "native", e.t.c.
Hi,
This idea sounds very interesting. Especially if this could be possible to extend to TheIDE on Windows. Then it would be possible to build with CLANG on Windows directly for Raspberry Pi. This would make developing for RPi so much more convenient!
Best regards,
Tom
|
|
|
|
| Re: 2020.1 officially released [message #54144 is a reply to message #54142] |
Wed, 03 June 2020 12:46   |
 |
mirek
Messages: 14290 Registered: November 2005
|
Ultimate Member |
|
|
Sender Ghost wrote on Wed, 03 June 2020 07:37mirek wrote on Tue, 02 June 2020 19:27
Well, we already can add flags via "Common fixed flags". I think all we need is "override" option that would avoid adding platform flags before adding these fixed.
As far as I know, there is a possibility to override platform related flags. This feature is implemented in LocalHost::AddFlags and LocalHost::HasPlatformFlag methods [1, 2, 3].
For example, possible to generate Makefile(s) for WIN32 platform, e.g.:
./umk uppsrc ide CLANG -r -M=Makefile +WIN32,GUI
or FreeBSD:
./umk uppsrc ide CLANG -rs -M=BSDMakefile +POSIX,BSD,FREEBSD,GUI
or Linux:
./umk uppsrc ide CLANG -rs -M=GNUMakefile +POSIX,LINUX,GUI
etc.
There is just a need to use correct build method for them. But I didn't test this for cross-platform/remote build(s), just for Makefile generation.
May suggest to add "OSX" flag to platformFlags also (based on order of appearance in LocalHost::AddFlags method). Patch attached.
Yes, but that ADDs flags. The problem is that there are default, platform defined flags too. We need a method to clear those...
Well, radical solution would be to remove them completely and move them strictly to build method. Less radical is to add an option "No default flags" to build method.
Second problem is that there are some #ifdef PLATFORM_ conditional compilation flags in GCC builder. Those need to be replaced to actually react to current flag configuration.
Mirek
|
|
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54148 is a reply to message #54144] |
Thu, 04 June 2020 05:16   |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
mirek wrote on Wed, 03 June 2020 10:46
Yes, but that ADDs flags. The problem is that there are default, platform defined flags too. We need a method to clear those...
Actually, this is what it does before adding default platform flags, defined by #if(def)(s), if some platform flag was found for override:
if(HasPlatformFlag(cfg))
return;
Novo wrote on Tue, 02 June 2020 19:20
IMHO, we need an option for umk. Something like "target platform", "-t", I guess.
Thanks for suggestion. I proposed this feature on Redmine #2041.
|
|
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54151 is a reply to message #54149] |
Thu, 04 June 2020 13:52   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Thu, 04 June 2020 04:31I have removed all #ifdef PLATFORM_* from GCC builder (except one case where this was not possible, but that one should not affect POSIX -> WIN32 compilation).
Thanks.
Unfortunately, your last commit broke linking of Linux console apps.
Linking...
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/.cache/upp.out/ide/Builders/CLANG.Debug.Debug_Full.Noblitz.Shared/Builders.a(Cocoa.o): in function `GccBuilder::CocoaAppBundle()':
/home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:18: undefined reference to `Upp::StreamRaster::LoadFileAny(char const*, Upp::Function<bool (int, int)>)'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:26: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:26: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:48: undefined reference to `Upp::Image::Image(Upp::Image const&)'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:51: undefined reference to `Upp::PNGEncoder::PNGEncoder(int, Upp::ImageKind, bool)'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:51: undefined reference to `Upp::Rescale(Upp::Image const&, int, int, Upp::Function<bool (int, int)>)'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:51: undefined reference to `Upp::StreamRasterEncoder::SaveFile(char const*, Upp::Image const&)'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:51: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:51: undefined reference to `Upp::PNGEncoder::~PNGEncoder()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:52: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:51: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:51: undefined reference to `Upp::PNGEncoder::~PNGEncoder()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/ide/Builders/Cocoa.cpp:52: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/.cache/upp.out/ide/Builders/CLANG.Debug.Debug_Full.Noblitz.Shared/Builders.a(Cocoa.o): in function `PNGRaster__initialize_struct':
/home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/plugin/png/png.h:8: undefined reference to `Upp::PNGRaster__initializer()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/.cache/upp.out/ide/Builders/CLANG.Debug.Debug_Full.Noblitz.Shared/Builders.a(Cocoa.o): in function `Upp::SortedVectorMap<int, Upp::Image, Upp::StdLess<int> >::Add(int const&, Upp::Image const&)':
/home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/Core/InVector.h:650: undefined reference to `Upp::Image::operator=(Upp::Image const&)'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/Core/InVector.h:650: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/Core/InVector.h:650: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/.cache/upp.out/ide/Builders/CLANG.Debug.Debug_Full.Noblitz.Shared/Builders.a(Cocoa.o): in function `void Upp::Destroy<Upp::Image>(Upp::Image*, Upp::Image const*)':
/home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/Core/Vcont.h:28: undefined reference to `Upp::Image::~Image()'
/usr/bin/ld: /home/ssg/.local/soft/bb-worker/worker/l-upp/build/.cache/upp.out/ide/Builders/CLANG.Debug.Debug_Full.Noblitz.Shared/Builders.a(Cocoa.o): in function `Upp::Image Upp::clone<Upp::Image>(Upp::Image const&)':
/home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/Core/Defs.h:398: undefined reference to `Upp::Image::Image(Upp::Image const&)'
Basically, umk cannot be built either using a Makefile or umk itself ...
Regards,
Novo
[Updated on: Thu, 04 June 2020 14:10] Report message to a moderator
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54153 is a reply to message #54152] |
Thu, 04 June 2020 16:00   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Thu, 04 June 2020 08:24Sorry, fixed at the price of another #ifdef, which will mean you cannot build OSX GUI appliaction in LINUX (which is impossible anyway).
Mirek
Thanks!
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54156 is a reply to message #53839] |
Thu, 04 June 2020 17:35   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
A minor issue with mingw on Linux.
umk calls x86_64-w64-mingw32-windres.exe, which is called x86_64-w64-mingw32-windres (no extension) on Linux, otherwise +WIN32 seems to work ...
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54165 is a reply to message #53839] |
Thu, 04 June 2020 21:14   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
Another interesting observation. Size of executable.
mingw:
:~/.local/soft/bb-worker/worker/mingw-upp/build/.cache/upp.out/CLANG.Blitz.Gui.Win32$ ll AK.exe
-rwx------ 1 ssg ssg 2541056 Jun 4 14:56 AK.exe*
wine:
:~/.local/soft/bb-worker/worker/wine-upp/build/.cache/upp.out/CLANGx64.Blitz.Gui$ ll AK.exe
-rwxrwxr-x 1 ssg ssg 5104128 Jun 4 14:28 AK.exe*
Two times bigger.
Both are 64-bit executables.
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54167 is a reply to message #54165] |
Fri, 05 June 2020 04:59   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
Problem with mingw & linking when compiling reference/GuiWebCrawler.
Command line contains "-lcrypto -lssl".
Linker is looking for libcrypto.a & libssl.a, which are named crypto.lib & ssl.lib.
Even after creating of links with correct names linker is still looking for libLIBCMT.a & libOLDNAMES.a, which are not available ...
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54168 is a reply to message #54156] |
Fri, 05 June 2020 05:03   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
Novo wrote on Thu, 04 June 2020 11:35A minor issue with mingw on Linux.
umk calls x86_64-w64-mingw32-windres.exe, which is called x86_64-w64-mingw32-windres (no extension) on Linux, otherwise +WIN32 seems to work ...
Could you please fix that?
You just need to replace
String windres = "windres.exe";
with
String windres = "windres";
TIA
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54169 is a reply to message #53839] |
Fri, 05 June 2020 05:44   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
Compilation speed of mingw is good.
Eigen_demo compiles in 35 sec. 
This is Debug:
$ ./umk reference Eigen_demo CLANG -bu
...
----- Eigen_demo ( WIN32 MAIN CLANG DEBUG DEBUG_FULL BLITZ ) (4 / 4)
BLITZ: eigen_demo.cpp non-linear.cpp fft.cpp
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/.cache/upp.out/Eigen_demo/CLANG.Debug.Debug_Full.Main.Win32/Eigen_demo$blitz.cpp:3:
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/reference/Eigen_demo/eigen_demo.cpp:1:
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/Core/Core.h:281:
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/Core/Mem.h:342:8: warning: unused variable 'Cmp128' [-Wunused-variable]
auto Cmp128 = [&](size_t at) { return _mm_cmpeq_epi32(_mm_loadu_si128((__m128i *)(s + at)), _mm_loadu_si128((__m128i *)(t + at))); };
^
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/.cache/upp.out/Eigen_demo/CLANG.Debug.Debug_Full.Main.Win32/Eigen_demo$blitz.cpp:3:
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/reference/Eigen_demo/eigen_demo.cpp:1:
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/Core/Core.h:285:
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/Core/String.h:956:
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/Core/AString.hpp:270:14: warning: unused variable 't' [-Wunused-variable]
const char *t = begin();
^
2 warnings generated.
Eigen_demo: 3 file(s) built in (0:34.91), 11637 msecs / file
Release takes 45 sec.
Mission is acomplished
Regards,
Novo
[Updated on: Fri, 05 June 2020 05:56] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54183 is a reply to message #54173] |
Fri, 05 June 2020 20:09   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Fri, 05 June 2020 03:44Novo wrote on Fri, 05 June 2020 04:59Problem with mingw & linking when compiling reference/GuiWebCrawler.
Command line contains "-lcrypto -lssl".
Linker is looking for libcrypto.a & libssl.a, which are named crypto.lib & ssl.lib.
Can you try to add .lib in package organizer? Just to know it that helps.
Adding .lib to crypto & ssl doesn't affect anything.
BTW, precompiled ssl is already included into Clang distribution bundled with Upp.
And, I guess, Clang is using its own ssl ...
And one shipped with Upp seems to be compiled with msvc ...
Another thing. llvm-mingw-20200325-ubuntu-18.04 doesn't include a prebuilt version of ssl ...
This is weird ...
Regards,
Novo
[Updated on: Fri, 05 June 2020 20:21] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54192 is a reply to message #54186] |
Sat, 06 June 2020 10:30   |
 |
mirek
Messages: 14290 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Fri, 05 June 2020 22:24mirek wrote on Thu, 04 June 2020 04:37
- Try with GIT head, as Martin claims this is now fixed. This would be most interesting option for me (Being there, you could check msvcrt version too).
Mirek
Checked against GIT head. The problem is still there.
Just to be sure: I mean llvm-mingw head (not U++)....
Quote:
What do you mean by msvcrt version?
By default, llvm-mingw builds for universal CRT, which is the new Windows OS C library in Win10 (and via system updates, since Win7). There is older one, "msvcrt.dll" which is present sice WinNT. However, situation is more complicated:
https://github.com/mstorsjo/llvm-mingw/issues/104
Still, it would probably be better to ship with msvcrt version... maybe next release.
Mirek
|
|
|
|
|
|
| Re: 2020.1 officially released [message #54200 is a reply to message #54192] |
Sun, 07 June 2020 15:45   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sat, 06 June 2020 04:30
By default, llvm-mingw builds for universal CRT, which is the new Windows OS C library in Win10 (and via system updates, since Win7). There is older one, "msvcrt.dll" which is present sice WinNT. However, situation is more complicated:
https://github.com/mstorsjo/llvm-mingw/issues/104
Still, it would probably be better to ship with msvcrt version... maybe next release.
Mirek
I'm a little bit confused. I thought that x86_64-w64-mingw32-clang++ builds for msvcrt, and x86_64-w64-mingw32uwp-clang++ builds for ucrt.
Anyway, I'll try to recompile llvm-mingw with --with-default-msvcrt=msvcrt on the build-mingw-w64.sh line.
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54201 is a reply to message #54200] |
Sun, 07 June 2020 16:08   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
Novo wrote on Sun, 07 June 2020 09:45
Anyway, I'll try to recompile llvm-mingw with --with-default-msvcrt=msvcrt on the build-mingw-w64.sh line.
That didn't help. I'm still getting same errors.
The only solution so far is to use the USEMALLOC flag.
Regards,
Novo
|
|
|
|
| Re: 2020.1 officially released [message #54202 is a reply to message #54201] |
Sun, 07 June 2020 16:52   |
Novo
Messages: 1431 Registered: December 2006
|
Ultimate Contributor |
|
|
A minor issue with umk.
It doesn't check for duplicate flags.
I have USEMALLOC defined in a project file and in a bm-file. In the end I get this:
CLANGx64cpp17.Debug.Debug_Full.Gui.Usemalloc.Usemalloc
Regards,
Novo
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 25 14:38:14 GMT+2 2026
Total time taken to generate the page: 0.01084 seconds
|