 | Discussion Forum |  |
|
|
Steps involved in conversion of C file to Hex fileNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Mahesh Dhareshwar Posted 9-Apr-2009 07:47 GMT Toolset None |  Steps involved in conversion of C file to Hex file Mahesh Dhareshwar Hi.. Can any one tell me steps involved while the c file is converted to hex file. i.e what all files(e.g.object files,list files,loader,linker) comes into existance.? | | Read-Only Author Christoph Franck Posted 9-Apr-2009 07:51 GMT Toolset None |  RE: Steps involved in conversion of C file to Hex file Christoph Franck Source files -> compiler -> object files Object files + libraries -> linker -> Binary executable + list files (optional) Binary executable -> Binary-to-hex conversion tool -> hex file | | Read-Only Author Andy Neil Posted 9-Apr-2009 10:11 GMT Toolset None |  Source files -> compiler -> object files Andy Neil Conceptually (sometimes literally), the translation is in two steps: 1. Source files -> preprocessor -> preprocessed source files; 2. preprocessed source files -> compiler -> object files + list files (optional) It is important to understand this; in particular to understand that the "compiler" itself never sees the parts of the original sources that are replaced by the "preprocessor". Most tools have an option to retain the "preprocessed" source files - which can be useful for debugging preprocessor problems: http://www.8052.com/forum/read.phtml?id=29152 | | Read-Only Author Mahesh Dhareshwar Posted 13-Apr-2009 05:51 GMT Toolset None |  RE: Steps involved in conversion of C file to Hex file Mahesh Dhareshwar Thank you very much for the clear concept.. If you could, please mention what is the function of LOADER. | | Read-Only Author Andrew Neil Posted 13-Apr-2009 11:55 GMT Toolset None |  What you really need... Andrew Neil ... is a computer science textbook and/or dictionary. You could also try: http://www.wikipedia.org and many like it... | | Read-Only Author Andy Neil Posted 9-Apr-2009 10:12 GMT Toolset None |  Look at the pretty picture Andy Neil http://www.keil.com/c51/devproc.asp | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|