Mail Archives: pgcc/1999/06/23/04:37:26
> As to -mpentium. I'm not sure how -m, -mcpu, -march are different.
>
> For example, the kernel compiles with -m486 -DCPU=686 (or something like
> that), with your CPU set to 686. Why not use -mpentium at least??
The -m<something> tells the compiler to act differently or use instructions
and optimizations for the architecture that you specified, while the
-Dsomething_else is a #define that affects the source, and makes the source
act in different ways.
Just because the -D happens to define a constant that has the name "686"
doesn't mean anything, it could as easily be -Dmight_have_large_L2_cache,
-Dhas_variable_mmu_table_size, -Dimpress_users or whatever.
See the difference?
--
"Backwards compatible" means: "if it isn't backwards, it's not compatible."
Http://www.it.kth.se/~jj
- Raw text -