Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Again about packages
Re: Again about packages [message #11931 is a reply to message #11926] |
Tue, 02 October 2007 00:14 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Mon, 01 October 2007 15:26 |
Package organizer, bottom right table, right-click (but you have to have the file selected in bottom left table).
..............
Yes. Anything in package organizer can have When condition.
|
Uhhmmmm... package options work well, per-file options don't.
Setting verbose mode shows that compiler is called for file without the per-file options....
For example :
In package options, I have :
when compiler options
<blank> -ffunction-sections -fPIC -funsigned-char -Wall -fmessage-length=0 -DLIN -DLININTEL -DOCC_CONVERT_SIGNALS -DNOPROTECTION -DCSFDB -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -DNDEBUG -DNo_Exception -MD
In bottom-left table, selecting the file, I have :
when additional compiler options for the file
<blank> -ffriend-injection -fpermissive
and the compile line for the file is
Underflow_0.cxx
c++ -c -I"/home/massimo/sources/upp/OpenCascade" -I"/home/massimo/sources/upp/uppsrc" -I"/usr/include/freety
pe2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0
/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -DflagMAIN -DflagGCC
-DflagDEBUG -DflagSHARED -DflagDEBUG_FULL -DflagBLITZ -DflagLINUX -DflagNOLIB -DbmYEAR=2007 -DbmMONTH=10
-DbmDAY=2 -DbmHOUR=0 -DbmMINUTE=5 -DbmSECOND=52 -ggdb -g2 -ffunction-sections -fPIC -funsigned-char -Wa
ll -fmessage-length=0 -DLIN -DLININTEL -DOCC_CONVERT_SIGNALS -DNOPROTECTION -DCSFDB -DHAVE_WOK_CONFIG_H
-DHAVE_CONFIG_H -DNDEBUG -DNo_Exception -MD -fexceptions -D_DEBUG -O0 -x c++ "/home/massimo/sources/upp
/OpenCascade/FoundationClasses/Standard/drv/Underflow_0.cxx" -o "/home/massimo/sources/upp/out/Foundation
Classes/Standard/GCC.Debug_full.Main.Shared/Underflow_0.o"
so no --ffriend-injection .... in compiler command line.
Ciao
Max
EDIT : well, for now I'll resort with global package options, the only drawback are some warnings on plain c files.
[Updated on: Tue, 02 October 2007 00:25] Report message to a moderator
|
|
|
|
|
Again about packages
By: mdelfede on Mon, 01 October 2007 10:48
|
|
|
Re: Again about packages
By: mirek on Mon, 01 October 2007 11:39
|
|
|
Re: Again about packages
By: mdelfede on Mon, 01 October 2007 12:56
|
|
|
Re: Again about packages
By: mr_ped on Mon, 01 October 2007 13:26
|
|
|
Re: Again about packages
By: mdelfede on Mon, 01 October 2007 13:50
|
|
|
Re: Again about packages
By: mirek on Mon, 01 October 2007 15:26
|
|
|
Re: Again about packages
By: mdelfede on Mon, 01 October 2007 16:12
|
|
|
Re: Again about packages
By: mdelfede on Tue, 02 October 2007 00:14
|
|
|
Re: Again about packages
By: mirek on Sat, 13 October 2007 11:42
|
|
|
Re: Again about packages
By: mdelfede on Sat, 13 October 2007 14:13
|
Goto Forum:
Current Time: Tue May 07 02:13:57 CEST 2024
Total time taken to generate the page: 0.03789 seconds
|