Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Examining preprocessor output(arduino C translated to sdcc C)
19-01-2014, 11:01 PM,
#1
Examining preprocessor output(arduino C translated to sdcc C)
Hi,
How do I get a listing of the preprocessor output that is translated from the Arduino C code? I would like to learn about the C code that is fed to the SDCC compiler. Is there some kind of flag that can be set on a command line somewhere?
Thanks.

David.
Reply
20-01-2014, 12:29 PM,
#2
RE: Examining preprocessor output(arduino C translated to sdcc C)
(19-01-2014, 11:01 PM)djsbriscoe Wrote: Hi,
How do I get a listing of the preprocessor output that is translated from the Arduino C code? I would like to learn about the C code that is fed to the SDCC compiler. Is there some kind of flag that can be set on a command line somewhere?
Thanks.

David.

Take a look a sources/user.c which is the C translation of your program (Arduino syntax).
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)