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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/19/10 18:28
Read: times


 
#173299 - Already done
Responding to: ???'s previous message
Erik Malund said:
make a .h file that defines e.g. TCON_TR1 (my preferred, you may prefer just TR1) in Keil format and another in SDCC format.

It's already been done - see: http://www.8052.com/forum/read/124972

all that would be required would be a different, identically named .h file copied to the build directory for the different builds

There are various approaches to this; others include:

  • Just have one file, with #if sections for each compiler;

  • Have a "master" file with #ifs to include the appropriate "specific" file.

  • List of 11 messages in thread
    TopicAuthorDate
    state of SDCC for 8051            01/01/70 00:00      
       why don't you simply give it a try?            01/01/70 00:00      
          :re why not try            01/01/70 00:00      
             get the newest version            01/01/70 00:00      
             should not be a big deal            01/01/70 00:00      
                Already done            01/01/70 00:00      
                   my take            01/01/70 00:00      
                      the framework and implementations            01/01/70 00:00      
                         re: the framework            01/01/70 00:00      
       haven't, but:            01/01/70 00:00      
       I've used it            01/01/70 00:00      

    Back to Subject List