Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to next message
ptDev is currently offline  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 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
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 #22238 is a reply to message #22230] Fri, 26 June 2009 15:18 Go to previous messageGo to next message
ptDev is currently offline  ptDev
Messages: 25
Registered: June 2009
Promising Member
Found the correct places for the option now, thank you so much Smile.

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?
Re: Global linker options [message #22260 is a reply to message #22238] Sun, 28 June 2009 10:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ptDev wrote on Fri, 26 June 2009 09:18

Found the correct places for the option now, thank you so much Smile.

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
Re: Global linker options [message #22437 is a reply to message #22260] Wed, 15 July 2009 16:59 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

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 Smile.

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 #22489 is a reply to message #22437] Sat, 18 July 2009 22:30 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello Mirek

I can also include MinGW into SourceForge.

This could be a compressed file as small as possible but complete including all necessary files.

Best regards
Koldo


Best regards
Iñaki
Re: Global linker options [message #22700 is a reply to message #22489] Thu, 06 August 2009 12:28 Go to previous message
koldo is currently offline  koldo
Messages: 3356
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
Previous Topic: Some issues with autobuild 1236
Next Topic: Small bug in "package organizer" dialog (svn 1357) [BUG]
Goto Forum:
  


Current Time: Fri Apr 19 22:02:31 CEST 2024

Total time taken to generate the page: 0.02485 seconds