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


>-----Original Message-----
>From: Daniel.Andersson@combitechsystems.com
>Sent: 07 January 2002 14:52

>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"

    Hi Daniel,

  I don't think gcc has any feature built in to read options from a file,
so you might be best off putting the the 'gcc' command at the beginning of
that file so as to turn it into a shell script / .bat file instead of just
a list of options.... 


    hth,
      DaveK
-- 
Burn your ID card!  http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
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]