Compile option

Dan Kegel dank@kegel.com
Mon Jan 7 20:04:00 GMT 2002


Daniel.Andersson@combitechsystems.com wrote:
> I have a very basic question that i can't find the answer to in the manual.
> When command line compiling i want to use a file that specifies all the
> include path and so on. What switch sould i use to do this? Something
> like"gcc -X compile.txt -c file.c" where the compile.txt contains for
> example "-I./../include"

Er, how about
   gcc `cat compile.txt` -c file.c 
?  That'll work fine in any unixy shell.

- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list