output to a directory which doesn't exit yet

xuantl xuantl@gmail.com
Wed Jul 26 04:25:00 GMT 2006


"gcc -c -o ./objs/foo.o foo.c"
The above command will put foo.o to the directory ./objs. But if ./objs 
doesn't exist, gcc will prompt error. How to make gcc to create the 
output directory automatically ?



More information about the Gcc-help mailing list