This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Compile option


Thanks a lot everybody!

The answer to my question was solved by the following line:

gcc -c @compile.txt -o somefile.o somefile.c

...where compile.txt contains all my compile flags, include path and so on.

Regards, Daniel

>Hi,
>
>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"
>
>Regards, Daniel

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]