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


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

Including files through command line options


Hello,

Based on a command line option, I want to make GAS include certain
assembly source files (let's assume that I know where the file is for
now).

I've tried setting a flag in md_parse_option, reading that flag in
md_begin and then based on that flag called read_a_source_file on the
file which I wanted to include.

Could anyone advise me if this is the acceptable way of achieving my
objective or if there is a cleaner way of doing this.

Regards,
-- 
Ravi Ramaseshan
http://www.geocities.com/ramaseshan_ravi/

" All man's miseries derive from not being able to sit in a room alone. "
- Blaise Pascal


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