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]

Re: Assembler doesnt understand comments


> Hi,
> 
> When I am trying to assemble an .s file i get errors on almost every line
> since there are a lot of comments that looks like: 
> 
> ; Comment 
> 
> ....they always start with the sign ;
> 
> Can i send an option to the assembler so it know what kind of symbol i use
> when i write comments or can this be solved in another way?
> 

Because each assembler uses different characters as part of its normal 
grammer, the comment character can vary depending on which processor you 
are working with (and you don't tell us :-).

The comment character for your target could be any of #@!;% (and maybe a 
few others).

R.


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


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