Re: symbol "#" generated by CPP(c preprocessor)

2009-10-13 Thread Andreas Schwab
Paul Brook writes: >> Here is a problem that '#' is a symbol used in my chip assembler as >> prefix before immediate. Like: MOV R0 #0x123. >> ... >> Is there any solution to solve this? > > Make your assembler accept # as as a comment stat only if it appears at the > start of a line. There are

Re: symbol "#" generated by CPP(c preprocessor)

2009-10-13 Thread Paul Brook
> Here is a problem that '#' is a symbol used in my chip assembler as > prefix before immediate. Like: MOV R0 #0x123. > ... > Is there any solution to solve this? Make your assembler accept # as as a comment stat only if it appears at the start of a line. There are several other targets (e.g. A

symbol "#" generated by CPP(c preprocessor)

2009-10-13 Thread daniel tian
Hi everyone: I have a problem with the C preprocessor. I write a assemble code "setjmp.S". When I built it with gcc which I have ported with the following command: /usr/local/cross/rice-elf/libexec/gcc/rice-elf/4.3.0/cc1 -E -lang-asm -quiet -v -DHAVE_RENAME -DMISSING_SYSCALL_NAMES -isystem