Announcement

Collapse
No announcement yet.

A GCC Proposal To Build It Better, Faster

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • curaga
    replied
    "make profiledbuild" has been an option for ages.

    Leave a comment:


  • RealNC
    replied
    Originally posted by birdie View Post
    What's the point of it?

    No one builds GCC using its default CFLAGS/CXXFLAGS.
    Putting -O3, LTO and PGO in defaults will probably result in distros also using them, even if they customize a lot. Especially PGO could improve things a bit.

    Leave a comment:


  • birdie
    replied
    What's the point of it?

    No one builds GCC using its default CFLAGS/CXXFLAGS.

    Leave a comment:


  • Ex-Cyber
    replied
    But will they also build it harder and stronger?

    Leave a comment:


  • gigaplex
    replied
    Compilers are deterministic

    Originally posted by DeepDayze View Post
    And test programs compiled with the compilers that were created to show code size and general program performance comparisons. Maybe there are indeed differences when a compiler is built using another compiler

    Aside: would be interesting to see how gcc would behave if built with LLVM instead



    Michael, what do you think?
    If the compilers generate different outputs depending on what compiler they were compiled with, that sounds like a bug. That'd be like a spreadsheet producing different answers depending on what compiler the application was built with.

    Leave a comment:


  • DeepDayze
    replied
    Originally posted by uid313 View Post
    What if you compile GCC with LLVM and LLVM with GCC lol.

    And compile GCC with GCC.
    And LLVM with LLVM.
    And test programs compiled with the compilers that were created to show code size and general program performance comparisons. Maybe there are indeed differences when a compiler is built using another compiler

    Aside: would be interesting to see how gcc would behave if built with LLVM instead



    Michael, what do you think?

    Leave a comment:


  • uid313
    replied
    What if you compile GCC with LLVM and LLVM with GCC lol.

    And compile GCC with GCC.
    And LLVM with LLVM.

    Leave a comment:


  • phoronix
    started a topic A GCC Proposal To Build It Better, Faster

    A GCC Proposal To Build It Better, Faster

    Phoronix: A GCC Proposal To Build It Better, Faster

    There's a proposal within the GCC development camp to change the CFLAGS under which the GNU Compiler Collection is built when in a release mode...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X