Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Raspberry Pi port,
piCore-15.0
is available!
Home
Help
Login
Register
Tiny Core Linux
»
General TC
»
Programming & Scripting - Unofficial
»
Question to the Compiler FLAG "Os"
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Question to the Compiler FLAG "Os" (Read 2595 times)
halma
Full Member
Posts: 164
Question to the Compiler FLAG "Os"
«
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
«
Last Edit: July 18, 2014, 07:57:13 AM by halma
»
Logged
1 + 2 = 6 cause 10 - 6 = 78 ;-) lol
Juanito
Administrator
Hero Member
Posts: 14849
Re: Question to the Compiler FLAG "Os"
«
Reply #1 on:
July 18, 2014, 09:05:51 AM »
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".
Logged
halma
Full Member
Posts: 164
Re: Question to the Compiler FLAG "Os"
«
Reply #2 on:
July 18, 2014, 09:36:57 AM »
hi juanito
thanks for the reply .. ok let me try what -02 will produce ...
many thanks
best regards
Halma
Logged
1 + 2 = 6 cause 10 - 6 = 78 ;-) lol
halma
Full Member
Posts: 164
Re: Question to the Compiler FLAG "Os"
«
Reply #3 on:
July 18, 2014, 10:05:22 AM »
great juanito the "O2" compiler flag seems to be working ;-)
thank you very much
best regards
Halma
«
Last Edit: July 18, 2014, 10:17:18 AM by halma
»
Logged
1 + 2 = 6 cause 10 - 6 = 78 ;-) lol
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
General TC
»
Programming & Scripting - Unofficial
»
Question to the Compiler FLAG "Os"