Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/09/09 22:38
Read: times


 
#162229 - don't be afraid of command line...
Responding to: ???'s previous message
... it's a good tool for many purposes. Learn how to start a command window (in WXP, Start->Run->"cmd"), and how to change the current directory (a.k.a. folder, using "cd" command). You will never regret the time it takes to learn.

The first step with sdcc and '51, if you have a c source e.g. "source.c" is to go to the directory with the source, and then type:
"sdcc source.c"
and then type "dir" to see the resulting files (ideally, if no errors, "source.ihx" will contain the result.


Next step is to find a nice little free programmer's editor - I wouldn't recommend to go for Eclipse, CodeBlocks and similar fancy stuff unless you have loads of spare time at hand, they are behemots hard to handle - my favorite is Crimson Editor, but Programmer Notepad or Notepad++ might be fine too. Learn how to run a command upon a keypress (e.g. F7 or F9 or whatever is your favorite).

Don't hesitate to ask. We don't know what you do know and what you don't. Keil might have pre-chewed a lot of what you now will need to learn, but believe me, you will be stronger if you will go through the learning, by reducing your dependence on a particular toolset.

JW


List of 13 messages in thread
TopicAuthorDate
c compiler            01/01/70 00:00      
   SDCC .exe file            01/01/70 00:00      
      Direct link to avoid further confusion            01/01/70 00:00      
         thanks a lot for the quick reply            01/01/70 00:00      
            IDEs            01/01/70 00:00      
   don't be afraid of command line...            01/01/70 00:00      
      thanks a lot, I have tried            01/01/70 00:00      
         header for your device            01/01/70 00:00      
         never leave main()            01/01/70 00:00      
            ok with sdcc            01/01/70 00:00      
               Keil, too?            01/01/70 00:00      
               sw engineering            01/01/70 00:00      
   SDCC is fun.            01/01/70 00:00      

Back to Subject List