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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/20/10 05:26
Read: times


 
#179202 - use current directory
Responding to: ???'s previous message
SDCC does not use the PATH variable to look for source files. It looks for them in the current directory only. So SDCC also does not look for source files in the bin directory where you should not place your source files in the first place.

Copy led.c to C:xxx and remove it from the bin directory and then try again. If you still get the same error message use dir to see if led.c is really in your current directory C:xxx.

List of 48 messages in thread
TopicAuthorDate
8051 c assembler            01/01/70 00:00      
   To get you started right away...            01/01/70 00:00      
      Beware            01/01/70 00:00      
         You're complicating the question            01/01/70 00:00      
            You're right            01/01/70 00:00      
   Try Raisonance's tool chain            01/01/70 00:00      
   After assembling.            01/01/70 00:00      
      prog.ihx            01/01/70 00:00      
         ihx...            01/01/70 00:00      
            It's not a shortcut!            01/01/70 00:00      
               Where is the 8051?            01/01/70 00:00      
                  everything about compiling a C program            01/01/70 00:00      
                     So ... which toolchain should the PC-user use?            01/01/70 00:00      
                        Already covered in linked thread            01/01/70 00:00      
                        Which toolchain?            01/01/70 00:00      
                           Design for whom?            01/01/70 00:00      
                  Debugging normally so much easier on PC            01/01/70 00:00      
               SDCC "shortcut"            01/01/70 00:00      
                  Presumably, from the extension?            01/01/70 00:00      
                     Could be a linker input file too, for some tool chains            01/01/70 00:00      
            syn            01/01/70 00:00      
   Books; Study.            01/01/70 00:00      
   if you want to take the difficult road ...            01/01/70 00:00      
   compilie error            01/01/70 00:00      
      no other files are seen in bin folder            01/01/70 00:00      
         yes..            01/01/70 00:00      
            You need to engage the environment variable PATH            01/01/70 00:00      
               I don't think PATH is used for finding "documents"?            01/01/70 00:00      
                  use current directory            01/01/70 00:00      
                     paths?            01/01/70 00:00      
                        files without paths            01/01/70 00:00      
            bin vs src            01/01/70 00:00      
   ...            01/01/70 00:00      
   Got the .ihx            01/01/70 00:00      
      which derivative            01/01/70 00:00      
         linking            01/01/70 00:00      
            include            01/01/70 00:00      
               ...            01/01/70 00:00      
                  version?            01/01/70 00:00      
                     2.9.0            01/01/70 00:00      
                        Remove it            01/01/70 00:00      
                           What is a "C" assembler?            01/01/70 00:00      
                              Already answered!            01/01/70 00:00      
   thanks everyone for help            01/01/70 00:00      
      fine, could you share how you got there?            01/01/70 00:00      
         ..            01/01/70 00:00      
   LCD interfacing            01/01/70 00:00      
      New Thread!            01/01/70 00:00      

Back to Subject List