Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Global linker options
Global linker options [message #22217] |
Wed, 24 June 2009 23:15  |
ptDev
Messages: 25 Registered: June 2009
|
Promising Member |
|
|
Hi,
Under Windows, I've just replaced my MinGW TDM build by the newest official MinGW release (GCC 4.4.0).
However, in order to use the new exception handling implementation, this new version links any executable to an additional DLL (libgcc_s_dw2-1.dll) by default.
I would like to be able to override this behavior globally (i.e., not having to specify it to any package), by passing the '-static-libgcc' argument just once and allowing TheIDE to apply this link option to all packages.
Is this possible?
Regards,
Francisco Almeida
[Updated on: Fri, 26 June 2009 00:59] Report message to a moderator
|
|
|
Re: Global linker options [message #22230 is a reply to message #22217] |
Fri, 26 June 2009 10:48   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
ptDev wrote on Wed, 24 June 2009 17:15 | Hi,
Under Windows, I've just replaced my MinGW TDM build by the newest official MinGW release (GCC 4.4.0).
However, in order to use the new exception handling implementation, this new version links any executable to an additional DLL (libgcc_s_dw2-1.dll) by default.
I would like to be able to override this behavior globally (i.e., not having to specify it to any package), by passing the '-static-libgcc' argument just once and allowing TheIDE to apply this link option to all packages.
Is this possible?
Regards,
Francisco Almeida
|
That is why prefered place to specify compiler options is Build method.
The only thing to notice is that there are 3 variants (debug, optimize speed, optimize size). You have to put it into all of them.
|
|
|
|
|
Re: Global linker options [message #22437 is a reply to message #22260] |
Wed, 15 July 2009 16:59   |
|
luzr wrote on Sun, 28 June 2009 11:23 |
ptDev wrote on Fri, 26 June 2009 09:18 | Found the correct places for the option now, thank you so much .
BTW, if you're considering returning to bundling U++ with MinGW, maybe it would be useful to use the new GCC 4.4.0 version and have this option set as default?
|
Right now I believe that somebody should take over this as maintainer and release mingw along with "major" releases into sourceforge.net.
Mirek
|
I can do this job! But, maybe I have not permission on sourceforge.net.
May be will be better to upload to http://code.google.com/p/upp-mirror/ ?
I tested on mingw with GCC 4.4.0 and works fine!
|
|
|
|
Re: Global linker options [message #22700 is a reply to message #22489] |
Thu, 06 August 2009 12:28  |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
I have put in http://sites.google.com/site/itemsforupp/files-1 a file with all mingw 4.4.0 implementation (mingw.7z).
It is complete so it is not necessary to download additional files, but as small as possible.
Please tojocky, ptDev, Mindtraveller and others, download and check it. You just need to rename your Upp/mingw folder and copy the new mingw folder, and you will not lost your actual mingw install.
Thank you all
Koldo
Best regards
Iñaki
|
|
|
Goto Forum:
Current Time: Thu May 08 00:20:18 CEST 2025
Total time taken to generate the page: 0.00680 seconds
|