OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000427OMNeT++IDE / C++ developmentpublic2011-11-02 13:322012-01-09 17:57
Assigned Torhornig 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusresolvedResolutionwon't fix 
PlatformOSOS Version
Product Version4.2rc1 
Target VersionFixed in Version 
Summary0000427: possibility to add gcc options for the release build
Descriptionit 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
rhornig (administrator)
2011-11-02 14:08

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.
michael (reporter)
2011-11-02 16:01

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!
rhornig (administrator)
2011-12-15 14:14
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.

rhornig (administrator)
2012-01-09 17:57

These options should be specified in the makefrags file. All project level makefile variables can be manipulated here.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker