| 
 | 
 | 
 
Home » Developing U++ » Releasing U++ » mingw? 
	
		
		
			| Re: mingw? [message #22186 is a reply to message #22163] | 
			Tue, 23 June 2009 15:32    | 
		 
		
			| 
				
	 | 
 
	
		| koldo wrote on Sun, 21 June 2009 16:35 |   Hello Speed Ghost 
 
 
Then I have recompiled TheIde changing this: 
	if(HasFlag("SSE2"))
		cc << " -msse2";// -mfpmath=sse"; 
and: 
Main Pack. Conf.  Compiler Opt         Test time  Problems? 
- GUI SSE2	  No option            2.4 sec    Crash  
and I have recompiled again with: 
	if(HasFlag("SSE2"))
		cc << " ";//-msse2";// -mfpmath=sse"; 
and: 
Main Pack. Conf.  Compiler Opt         Test time  Problems? 
- GUI SSE2	  No option            9.5 sec    Ok  
..................... 
Best regards 
Koldo
  |  
  
 
Koldo, 
 
I thing that is need to set a final source version and propuse for change in svn. 
Use as flag I do not thing that it is a good idea. But use in compile options is more transparent. 
I thing that it should change Automatic setup (maybe it for win32 only ) for speed option set this command. 
for mingw 
		
		
		[Updated on: Tue, 23 June 2009 15:33] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: mingw? [message #22209 is a reply to message #22188] | 
			Wed, 24 June 2009 14:19    | 
		 
		
			| 
				
	 | 
 
	
		Sorry Koldo, 
 
I understood wrong. 
The problem is not in u++ but in MinGW TDM 4.4.0? 
Right? 
 
I tested for me with old MinGW and have not errors. 
 
| koldo wrote on Tue, 23 June 2009 16:55 |   Hello Ion 
 
Excuse me, I do not understand you very well     
 
After the tests I compile in "GUI" (not in "GUI SSE2") and for the end source if SSE2 code is included I include compiler options "-msse2 -mfpmath=sse" and "/arch:sse2". 
 
Best regards 
Koldo
  |  
  
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: mingw? [message #22713 is a reply to message #22710] | 
			Fri, 07 August 2009 23:07    | 
		 
		
			| 
				
	 | 
 
	
		I often use MINGW. Moreover, MINGW I have, some old version that was included with the UPP. When I was downloading update UPP (for Linux), - I Replace folder uppsrc of wine, - and it works. 
 
By the way - the generation of Win applications under wine, in my opinion, better guarantees against viruses in the final assembly of windows applications.  
 
That is why - I really want to branch MINGW developed, supported and discussed. 
		
		
  SergeyNikitin<U++>( linux, wine ) 
{ 
        under( Ubuntu || Debian || Raspbian ); 
}
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: mingw? [message #22718 is a reply to message #22699] | 
			Sat, 08 August 2009 14:19   | 
		 
		
			
				
				
				  | 
					
						  
						mirek
						 Messages: 14271 Registered: November 2005 
						
					 | 
					Ultimate Member  | 
					 | 
		 
		 
	 | 
 
	
		| koldo wrote on Thu, 06 August 2009 03:57 |   Hello 
 
| ptDev wrote on Sun, 28 June 2009 09:50 |   It's true, and I found this annoying too. Especially considering it's just a 44kb dll. 
 
However, if one uses the '-static-libgcc' option, the dependency is removed. This is something to keep in mind.
  |  
  
 
Perhaps we would have to propose Theide developers to include this in source code. 
 
A possible implementation could be in file GccBuilder.cpp, line 130, adding this: 
 
	if(HasFlag("WIN32")) {
		cc << " -static-libgcc"; 
 
I have compiled Theide with this change and I have debugged programs with MinGW 4.4.0 and without libgcc_s_dw2-1.dll without problems. 
 
Best regards 
Koldo
  |  
  
 
I think it should work via build method too, correct? (In that case, I can make it part of mingw autosetup). 
 
Mirek 
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 07:00:27 CET 2025 
 Total time taken to generate the page: 0.11854 seconds 
 |   
 |  
  |