[cfe-commits] r108672 - in /cfe/trunk: test/Driver/at_file.c test/Driver/at_file.c.args tools/driver/driver.cpp

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jul 19 06:13:09 PDT 2010


> btw, what is the @rpath thing on the apple linker? On the gnu one it
> expands the options by reading a file (just like gcc).

So, I created a test.args file with "-Dfoo  -Darg" and on snow leopard tried

$ gcc test.c -Xlinker @test.args -v

What happens is that -Dfoo is passed to the linker, but -Darg is
passed to cc1. Is that what you get with gcc too? Is that the expected
behavior?

Cheers,
Rafael



More information about the cfe-commits mailing list