#11 Custom Startup Code

closed
nobody
None
5
2004-10-19
2001-11-16
No

Hi,
It would be nice if (IWBNI) there was a switch to suppress the generation of startup code. I'm
refering particularly to the reset jump vector, interrupt vectors, stack pointer initialization, and
calling the global initializations (i.e., __interrupt_vect and __sdcc_gsinit_startup). The functions
__sdcc_external_startup and __sdcc_program_startup would still be generated, they just wouldn't
be called automatically.

As a result, it would be up to the programmer to insert the apropriate code himself. I've used a
similar feature on a PC based C++ compiler to generate custom embedded code.

Thanks!
Geoffrey

Discussion

  • Maarten Brock

    Maarten Brock - 2004-10-19
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2004-10-19

    Logged In: YES
    user_id=888171

    Use

    #pragma noiv
    copy, adapt and include crt... files in your project

    And you can get almost anything you want.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks