This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -MD together with -save-temps broken
Am Sam, 2002-03-16 um 00.45 schrieb Neil Booth:
> Uhh, -MD. Or, if you want to specify the output file to be other than
> the default, use DEPENDENCIES_OUTPUT environment variable as documented.
> I've just checked both and both work.
I'm sorry to disappoint you but the -MD switch doesn't work together
with -save-temps.
egger@sonja:~$ /opt/gcc/bin/gcc -maltivec -save-temps -MD -O2 -o test2 test2.c
/usr/lib/crt1.o(.rodata+0x4): undefined reference to `main'
collect2: ld returned 1 exit status
Without it does but that still doesn't solve my inital problem which was
that several projects compile with compiler generated dependencies but
I need assembly output to compare optimisation efforts.
egger@sonja:~$ /opt/gcc/bin/gcc -maltivec -MD -O2 -o test2 test2.c
egger@sonja:~$
--
Servus,
Daniel