User forums > General (but related to Code::Blocks)

New compiler options?

(1/2) > >>

Randajad:
GCC have a many intresting options, that is not currently support CB.
Please, add these options to opt window. :)


--- Quote ----flto(link time codegeneration)
-Ofast(-O3 with --fash-math and other improvements)
-momit-leaf-frame-pointer(omit frame pointer from leaf functions)
-msse(using SSE instruction set) --- it's needed because in my test i found, that with -march=pentium3(mmx, sse) gcc produces bad code rather than i use -mmmx & -msse
... and many others, i can lead list of important options

--- End quote ---

Also there is a bug in codeblocks. If i type by myself option, that CB supports, to compiler options(for example, -O3) and click OK, then codeblocks removes it from compiler options and does not add to compiler flags.

Also i'm tested and found, that it's need to add some compiler options to linker flags too. CB only adds -s to linker options, if i specify it in compiler flags. I think, codeblocks should duplicate all the options from compiler command line to linker. There is no options, that linker say it's invalid. But in some cases it important to duplicate options to gcc linker.

Also there is vary bad situation with ICC compiler. I have ICC 12.
It doesn't support now options such as /QxK, /QxB, ... There is now similiar options like: /arch:IA32(uses mmx & sse), /arch:SSE2(uses SSE2) and so on.

Also sorry for my Eng, i'm Ru.

oBFusCATed:
Why do you think it doesn't support it ?
There is the other options, both in the compiler and in the linker.
I suppose you don't expect us to add all possible options?

Randajad:
Because i don't see it in CB.
I know about other options, but usual many(not all, of course) options can and should be duplicated to linker command line.
Yes, i don't expect that all options will be added. But i think, it is possible to add intresting options.
Don't know what you thinking about list above options, but i think new options(since gcc 4.6) as -Ofast & -flto should be added.

oBFusCATed:
I think we already have too many options there.


--- Quote from: Randajad on June 14, 2012, 09:49:30 am ---I know about other options, but usual many(not all, of course) options can and should be duplicated to linker command line.

--- End quote ---
If you need a special option for the linker, you can put it in "other linker options". I don't see what is the problem here.

Randajad:
Why i need do it by my hands, when it can be done by CB?
It's not special options, btw. For example, cb duplicate option "-s". Why not all?

Navigation

[0] Message Index

[#] Next page

Go to full version