|
|
Home » Developing U++ » U++ Developers corner » Considering different approach to Win32 release
Re: Considering different approach to Win32 release [message #45304 is a reply to message #45300] |
Thu, 29 October 2015 13:22 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Tom1 wrote on Thu, 29 October 2015 09:42Hi Mirek,
I have now tested 9105 on Windows 8.1 Professional x64 with the following results:
Thanks for testing! Definitely helpful.
Quote:
2. It still can't find the installed Visual studio 2015 community edition. Is this expected?
That is definitely unexpected and "wrong".
Well, instead of long and detailed request for investigation, could you please just look into ide/InstantSetup.cpp and put on line 180
vc = df.ScanForDir("/vc", "", "bin/link.exe;bin/cl.exe;bin/mspdb140.dll", "bin/1033");
bin = df.ScanForDir(x64 ? "bin/x64" : "bin/x86", "/windows kits/", "makecat.exe;accevent.exe", "");
inc = df.ScanForDir("", "/windows kits/", "um/adhoc.h", "um;ucrt;shared");
lib = df.ScanForDir("", "/windows kits/", "um/x86/kernel32.lib", "um;ucrt");
DUMP(vc); DUMP(bin); DUMP(inc); DUMP(lib); // <<==== THIS
if(vc.GetCount() * bin.GetCount() * inc.GetCount() * lib.GetCount()) {
bins.At(0) = vc + (x64 ? "/bin/amd64" : "/bin");
bins.At(1) = bin;
String& sslbin = bins.At(2);
and then run "Instant setup.." and look into .log?
(Explanation: Instead looking into registry (which proved error-prone with MSC12), theide now scans Program files directories and attempts to find appropriate directories.)
Quote:
3. MINGW Debug compiles UWord correctly and the resulting executable works.
4. MINGW Size compiles UWord correctly and the resulting executable works.
5. MINGW Optimal compiles UWord but the resulting executable crashes. It requires dropping the speed optimization flag from O3 to O2 in order to make it work.
6. MINGW Speed compiles UWord but the resulting executable crashes. It requires dropping the speed optimization flag from O3 to O2 in order to make it work.
7. MINGWx64 Debug compiles UWord correctly and the resulting executable works.
8. MINGWx64 Size compiles UWord but the resulting executable crashes. (Switching from Os to e.g. O0 in size optimization flags fixes the executable.)
9. MINGWx64 Optimal compiles UWord but the resulting executable crashes. (Switching from Os to O0, O1, O2 or O3 in size optimization flags fixes the executable.)
10. MINGWx64 Speed compiles UWord correctly and the resulting executable works.
Best regards,
Tom
Unfortunately, investigation revealed apparent bug in GCC optimizer (you can compile in release mode with full debug info and run in debug - bug in assembly is quite apparent).
I will try to downgrade gcc version. If that does not help (it should, in Linux it works fine), I will change -O levels...
Mirek
|
|
|
|
|
Considering different approach to Win32 release
By: mirek on Sun, 20 September 2015 19:10
|
|
|
Re: Considering different approach to Win32 release
By: dolik.rce on Sun, 20 September 2015 20:31
|
|
|
Re: Considering different approach to Win32 release
By: Didier on Sun, 20 September 2015 21:57
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Sun, 20 September 2015 23:36
|
|
|
Re: Considering different approach to Win32 release
By: dolik.rce on Mon, 21 September 2015 07:27
|
|
|
Re: Considering different approach to Win32 release
By: timsky on Mon, 21 September 2015 15:58
|
|
|
Re: Considering different approach to Win32 release
By: koldo on Mon, 21 September 2015 16:14
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Wed, 21 October 2015 20:30
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Mon, 26 October 2015 09:51
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Mon, 26 October 2015 12:23
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Mon, 26 October 2015 15:01
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Mon, 26 October 2015 15:26
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Mon, 26 October 2015 18:59
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Tue, 27 October 2015 09:20
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Tue, 27 October 2015 11:00
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Tue, 27 October 2015 12:48
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Wed, 28 October 2015 07:58
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Wed, 28 October 2015 08:06
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Wed, 28 October 2015 19:20
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Thu, 29 October 2015 13:13
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Thu, 29 October 2015 09:42
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Thu, 29 October 2015 13:22
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Thu, 29 October 2015 14:17
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Thu, 29 October 2015 14:22
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Thu, 29 October 2015 14:33
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Thu, 29 October 2015 15:04
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Thu, 29 October 2015 15:48
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Thu, 29 October 2015 16:45
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Thu, 29 October 2015 16:46
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Thu, 29 October 2015 18:18
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Thu, 29 October 2015 20:16
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Fri, 30 October 2015 12:17
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Fri, 30 October 2015 14:39
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Fri, 30 October 2015 17:05
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Fri, 30 October 2015 17:51
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Mon, 02 November 2015 17:17
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Mon, 02 November 2015 17:34
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Mon, 26 October 2015 15:34
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Mon, 26 October 2015 18:58
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Tue, 27 October 2015 09:01
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Tue, 27 October 2015 10:45
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Wed, 28 October 2015 07:57
|
|
|
Re: Considering different approach to Win32 release
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Tue, 27 October 2015 10:59
|
|
|
Re: Considering different approach to Win32 release
By: mdelfede on Mon, 02 November 2015 18:10
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Tue, 03 November 2015 09:27
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Tue, 03 November 2015 09:48
|
|
|
Re: Considering different approach to Win32 release
By: Tom1 on Tue, 03 November 2015 11:33
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Wed, 25 November 2015 13:14
|
|
|
Re: Considering different approach to Win32 release
By: mirek on Tue, 03 November 2015 09:52
|
|
|
Re: Considering different approach to Win32 release
By: mdelfede on Thu, 26 November 2015 09:35
|
Goto Forum:
Current Time: Sun May 05 00:30:39 CEST 2024
Total time taken to generate the page: 0.01708 seconds
|
|
|