Enable G++ Optimizations Flags

12 views
Skip to first unread message

Matteo Rotundo

unread,
Feb 18, 2019, 10:17:41 AM2/18/19
to omn...@googlegroups.com
Hi,

it is not so clear to me how to see in the IDE what are the flags active in the two default configurations (debug and release). Also, in particular how I could set a compiler flag for optimization?

Thanks for the help!

Rudolf Hornig

unread,
Feb 20, 2019, 8:18:18 AM2/20/19
to OMNeT++ Users
Set CFLAGS_RELEASE and CFLAGS_DEBUG in configure.user and the re-configure and rebuild omnet. You can check the actual effective flags (CFLAGS_RELEASE) in the Makefile.inc

Matteo Rotundo

unread,
Feb 20, 2019, 9:03:01 AM2/20/19
to omn...@googlegroups.com
When you say say re-configure you mean running the configure script again and building all OMNeT code from scratch? 


--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Rudolf Hornig

unread,
Feb 21, 2019, 5:29:31 AM2/21/19
to OMNeT++ Users


On Wednesday, February 20, 2019 at 3:03:01 PM UTC+1, Matteo Rotundo wrote:
When you say say re-configure you mean running the configure script again and building all OMNeT code from scratch? 
Yes.
 


Il giorno mer 20 feb 2019 alle ore 14:18 Rudolf Hornig <rudolf...@gmail.com> ha scritto:
Set CFLAGS_RELEASE and CFLAGS_DEBUG in configure.user and the re-configure and rebuild omnet. You can check the actual effective flags (CFLAGS_RELEASE) in the Makefile.inc

On Monday, February 18, 2019 at 4:17:41 PM UTC+1, Matteo Rotundo wrote:
Hi,

it is not so clear to me how to see in the IDE what are the flags active in the two default configurations (debug and release). Also, in particular how I could set a compiler flag for optimization?

Thanks for the help!

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

Matteo Rotundo

unread,
Feb 21, 2019, 6:28:42 AM2/21/19
to omn...@googlegroups.com
Perfect! Thank you so much for the help!

Il giorno gio 21 feb 2019 alle ore 11:29 Rudolf Hornig <rudolf...@gmail.com> ha scritto:


On Wednesday, February 20, 2019 at 3:03:01 PM UTC+1, Matteo Rotundo wrote:
When you say say re-configure you mean running the configure script again and building all OMNeT code from scratch? 
Yes.
 
Il giorno mer 20 feb 2019 alle ore 14:18 Rudolf Hornig <rudolf...@gmail.com> ha scritto:
Set CFLAGS_RELEASE and CFLAGS_DEBUG in configure.user and the re-configure and rebuild omnet. You can check the actual effective flags (CFLAGS_RELEASE) in the Makefile.inc

On Monday, February 18, 2019 at 4:17:41 PM UTC+1, Matteo Rotundo wrote:
Hi,

it is not so clear to me how to see in the IDE what are the flags active in the two default configurations (debug and release). Also, in particular how I could set a compiler flag for optimization?

Thanks for the help!

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages