|Anonymous | Login||2022-01-22 02:38 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000427||OMNeT++||IDE / C++ development||public||2011-11-02 13:32||2012-01-09 17:57|
|Priority||normal||Severity||feature||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0000427: possibility to add gcc options for the release build|
|Description||it would be nice if the release build options could be extended/changed. Maybe someone would be release build with -O3 or want to add -march=... -mtune= -sse or other options.|
|Tags||No tags attached.|
You can do that by specifying your CFLAGS_RELEASE options in the configure.user and then re-running ./configure...
With the above defaults we just want to remain on the 'safe side' to be able to build omnet on all architectures and platforms.
I does not mean the OMNeT build, I mean custom projects which are build with OMNeT and I searched options on project scope not on global scope.
There are also flags like -pg (gcc profiler) or if I want to use OpenMP (-fopenmp), theses flags should not set on global scope!
edited on: 2011-12-15 14:16
It is a bit hard to create a good UI for this, because some project options would collide with system (omnet) level options. I.e. omnet specifies -O2 in CFLAGS_RELEASE and you would add -O3. I.e. you should be able add new and remove+modify existing flags from CFLAGS and LDFLAGS.
You can do this now by adding your makefile fragments to the makefrags file. You have complete control over the CFLAGS/LDFLAGS variable there.
But perhaps it is better to set these values at system level and recompile omnet. If you use flags specific to your architecture (or compiler), omnet libraries would benefit from this too.
|These options should be specified in the makefrags file. All project level makefile variables can be manipulated here.|
|2011-11-02 13:32||michael||New Issue|
|2011-11-02 14:08||rhornig||Note Added: 0000581|
|2011-11-02 16:01||michael||Note Added: 0000582|
|2011-12-15 14:14||rhornig||Note Added: 0000645|
|2011-12-15 14:16||rhornig||Note Edited: 0000645|
|2012-01-09 17:57||rhornig||Note Added: 0000674|
|2012-01-09 17:57||rhornig||Status||new => resolved|
|2012-01-09 17:57||rhornig||Resolution||open => won't fix|
|2012-01-09 17:57||rhornig||Assigned To||=> rhornig|
|Copyright © 2000 - 2022 MantisBT Team|