Mail Archives: djgpp/2001/09/04/04:17:09
On Mon, 3 Sep 2001, Marco Vienup wrote:
> When I compile it like this:
>
> gpp a.cpp b.cpp -O3 -o test.exe
>
> it is slower, as if I do something like this:
>
> gpp a.cpp -O3 -c a.o
> gpp b.cpp -O3 -c b.o
>
> gpp -O3 a.o b.o -o test.exe
How much slower? Can you give numbers?
Anyway, I'd suggest to run objdump on both .exe files, and compare the
results. That could show what are the differences between the two
programs.
> But why ? I thougt it would bring the same result ?!
Hard to tell; it could be a bug, or it could be a feature. objdump
might help decide which one is it.
- Raw text -