Changeset f10d37f in rtems


Ignore:
Timestamp:
Jul 24, 2007, 8:52:56 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
845c202
Parents:
14ee224c
Message:

2007-07-24 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, startup/main.c: Now can link with C compiler and not require C++ compiler to link. The file rtems-ctor.cc is not being built but if there is a need for C++ code to run on this BSP, then it will have to be addressed. The simplest solution which might work is to check the RTEMS system state before calling bsp_start() in main().
Location:
c/src/lib/libbsp/unix/posix
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/unix/posix/ChangeLog

    r14ee224c rf10d37f  
     12007-07-24      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile.am, startup/main.c: Now can link with C compiler and not
     4        require C++ compiler to link. The file rtems-ctor.cc is not being
     5        built but if there is a need for C++ code to run on this BSP, then it
     6        will have to be addressed. The simplest solution which might work is
     7        to check the RTEMS system state before calling bsp_start() in main().
     8
    192007-05-07      Ralf Corsépius <ralf.corsepius@rtems.org>
    210
  • c/src/lib/libbsp/unix/posix/Makefile.am

    r14ee224c rf10d37f  
    2727project_lib_DATA =
    2828noinst_LIBRARIES =
    29 if HAS_CXX
    30 noinst_LIBRARIES += librtemscxx.a
    31 
    32 librtemscxx_a_SOURCES = startup/no-ctor.c
    33 
    34 # Install as a separate .$(OBJEXT)
    35 project_lib_DATA += no-ctor.$(OBJEXT)
    36 
    37 # We install the RTEMS constructor as a separate .$(OBJEXT)
    38 # so it can be easily place correctly by the compiler config file.
    39 project_lib_DATA += rtems-ctor.$(OBJEXT)
    40 endif
     29## if HAS_CXX
     30## noinst_LIBRARIES += librtemscxx.a
     31##
     32## librtemscxx_a_SOURCES = startup/no-ctor.c
     33##
     34## # Install as a separate .$(OBJEXT)
     35## project_lib_DATA += no-ctor.$(OBJEXT)
     36##
     37## # We install the RTEMS constructor as a separate .$(OBJEXT)
     38## # so it can be easily place correctly by the compiler config file.
     39## project_lib_DATA += rtems-ctor.$(OBJEXT)
     40## endif
    4141
    4242noinst_PROGRAMS += startup.rel
    4343startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
    44     startup/bspstart.c startup/setvec.c
     44    startup/bspstart.c startup/setvec.c ../../shared/bootcard.c
    4545if !HAS_CXX
    4646startup_rel_SOURCES += startup/main.c
     
    7575noinst_LIBRARIES += libbsp.a
    7676libbsp_a_SOURCES =
    77 if HAS_CXX
    78 libbsp_a_SOURCES += startup/rtems-ctor.cc
    79 endif
     77## if HAS_CXX
     78## libbsp_a_SOURCES += startup/rtems-ctor.cc
     79## endif
    8080libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
    8181if HAS_MP
  • c/src/lib/libbsp/unix/posix/startup/main.c

    r14ee224c rf10d37f  
    2525)
    2626{
    27   rtems_argc = argc;
    28   rtems_argv = argv;
    29 
    30   bsp_start();
    31 
    32   if ((argc > 0) && argv && argv[0])
    33       rtems_progname = argv[0];
    34   else
    35       rtems_progname = "RTEMS";
    36 
    37   /*
    38    *  Start multitasking
    39    */
    40 
    41   rtems_initialize_executive_late( bsp_isr_level );
    42 
    43   /*
    44    * Returns when multitasking is stopped
    45    * This allows our destructors to get run normally
    46    */
    47 
    48   fflush( stdout );
    49   fflush( stderr );
    50 
    51   bsp_cleanup();
     27  boot_card();
    5228
    5329  return 0;
Note: See TracChangeset for help on using the changeset viewer.