where temporary files are written
Marty Leisner
leisner@rochester.rr.com
Wed May 9 03:07:00 GMT 2007
I didn't see an option to tell gcc where to write temporary files
(in currently writes them in in the current directory).
The way linux builds kernel modules is it runs gcc from the KERNEL
install directory, so doing something like
make CC='gcc -save-temps'
writes the temporary files into the kernel directory...(which may be readonly).
What I'm looking to accomplish is
make CC="gcc -save-temps --temppath=$PWD"
to write temporary files into "temppath".
comments?
marty
More information about the Gcc-help
mailing list