Tag: compiling

  • Which architecture should I compile for with GCC?

    Which architecture should I compile for with GCC?

    Last week I wrote about strange assembler messages on new PCs and I mentioned there could be performance issues when you don’t use -march=native. -march=native is very good if you only plan to run your code on a specific computer, or you allow people to compile it themselves from source. So what happens if you…