Tiny Core Linux
General TC => Programming & Scripting - Unofficial => Topic started by: halma on July 18, 2014, 07:51:30 AM
-
hi ;-)
i have an question to the compiler flag "Os"
gcc.gnu.org says the compiler flag "Os" is ---> "Optimize for size"
so my question is:
while i try to comile the xen-tools, so long i use the "Os" flag i run into compiler error .. is the "Os" really needed and if i dont use it is it just the binary Size what is not optimized or may arise, other disadvantages ?
thats the reason why i am asking:
http://lists.xenproject.org/archives/html/xen-users/2014-07/msg00303.html
thanks all
best regards
Halma
-
The idea is that tc should be as small as possible, but if "-Os" doesn't work, you can either omit it or use "-O2".
-
hi juanito
thanks for the reply .. ok let me try what -02 will produce ...
many thanks
best regards
Halma
-
great juanito the "O2" compiler flag seems to be working ;-)
thank you very much
best regards
Halma