Commit Graph

47 Commits

Author SHA1 Message Date
W. Eric Norum
b99238b93c Removing -ansi causes *lots* of other problems, so back out previous change. 2003-07-31 16:34:16 +00:00
W. Eric Norum
ec11da3a05 RTEMS header files have just too many functions whose prototypes are removed
when -ansi is specified.
2003-07-30 21:42:54 +00:00
W. Eric Norum
2612b722fa RTEMS can't use code compiled with -fPIC. 2003-05-29 21:03:38 +00:00
W. Eric Norum
2f676b3e9a Track changes to build system. 2003-03-23 21:25:08 +00:00
Janet B. Anderson
6021e84957 Changes for shared libraries and os consistancy. 2003-03-18 22:45:03 +00:00
W. Eric Norum
b3a76e8c80 Turn -ansi back on and use osiUnistd.h to provide the missing
prototypes.
2003-03-02 18:59:52 +00:00
W. Eric Norum
8c8be61128 Don't use -ansi. 2003-02-28 21:38:54 +00:00
Janet B. Anderson
9c4d568546 Added PROD_LDFLAGS, LIB_LDFLAGS, PROD_OBJLIBS, USR_OBJLIBS, LIB_OBJLIBS. 2003-01-24 22:01:34 +00:00
W. Eric Norum
384e3af4b5 Latest RTEMS add-on packages provide libtecla so make it the default on RTEMS. 2002-11-29 14:52:14 +00:00
W. Eric Norum
6f7ecedea4 Link -lCom after -lrtemsCom since the rtems_init routines now use the
error logging functions from libCom.
2002-11-27 17:18:28 +00:00
Janet B. Anderson
22e557ffad Modified defaults for command-line input support. 2002-11-25 22:25:44 +00:00
W. Eric Norum
1c7428c1cf Change command-line input to allow CONFIG_SITE selection of libtecla,
GNU readline, or built-in EPICS routines.
2002-11-20 20:17:36 +00:00
Ralph Lange
b562b9557f Moved STATIC_LDFLAGS out of LDFLAGS.
See http://www.aps.anl.gov/epics/mantis/view_bug_advanced_page.php?f_id=20
2002-11-12 10:32:09 +00:00
W. Eric Norum
2bb26522e0 Reorder library searches to avoid some problems when linking applications
which include the GPIB driver add-on modules.
2002-08-21 21:08:22 +00:00
W. Eric Norum
50bbe99398 Fix LINK.cpp command definition. 2002-04-16 19:29:44 +00:00
W. Eric Norum
8feac220c1 No need to redefine main since RTEMS no longer uses main() internally. 2002-04-15 19:45:45 +00:00
W. Eric Norum
f3f528fa1c Use C++ compiler to link. This ensures that the C++ run-time support
can be found.
2002-02-08 01:21:11 +00:00
Janet B. Anderson
4c837141b6 Changed EPICS_BASE_CPPFLAGS to BASE_CPPFLAGS. 2002-02-06 17:11:38 +00:00
W. Eric Norum
cf9ce0bf02 Track changes in RTEMS library names. 2002-01-31 15:38:05 +00:00
Janet B. Anderson
171efd1291 Changed definitions for creation of shared libraries. 2002-01-17 19:55:27 +00:00
W. Eric Norum
cab1f58df1 The RTEMS TFTP driver now supports a limited form of chdir(). This means that
the hack of redefining fopen is no longer necessary.
Link -lrtemsall before -lrtemsCom to ensure that the configuration information
gets pulled from the rtemsCom library.
2001-09-26 15:28:29 +00:00
Jeff Hill
2b9212727f removed explicit template mechanism 2001-09-13 15:02:15 +00:00
W. Eric Norum
b5322ea925 Add new RTEMS initialization/configuration library. 2001-08-09 20:01:11 +00:00
Janet B. Anderson
60173f78cf Remove compiler path requirement. 2001-06-28 21:05:42 +00:00
Jeff Hill
71ccf13585 eliminate option to turn off exceptions 2001-06-12 17:54:30 +00:00
Janet B. Anderson
7874d35daf Changes to create vxWorks archive libraries and prods. 2001-06-07 14:26:06 +00:00
W. Eric Norum
9f2d93d2d4 Allow application code to override RTEMS network configuration. 2001-04-20 19:18:54 +00:00
W. Eric Norum
3cba651ae8 Add definition of partial link command (LD). 2001-03-06 15:12:50 +00:00
W. Eric Norum
cb0f8f6879 Add definition for how to run the C preprocessor. This is needed for
preprocessing sequencer source files.
2001-02-19 20:07:18 +00:00
W. Eric Norum
2c63f42dbb More changes to reflect new EPICS build environment. 2001-02-16 16:45:55 +00:00
W. Eric Norum
85485063cf Must explicitly set EXE and OBJ variables. 2001-02-15 02:08:27 +00:00
W. Eric Norum
6eb7163723 Not working, but committing to let others have a look at this. 2001-02-14 03:52:00 +00:00
Janet B. Anderson
8ded7b56ab Removed ANSI and CPLUSPLUS 2001-01-30 16:00:51 +00:00
W. Eric Norum
6c1be6f025 Since all systems other than vxWorks use a C++ constructor to register sequencer
programs and commands, use C++ to compile the output of SNC.  The commands to
use C in configure/os/CONFIG.Common.vxWorksCommon are commented out for now.
If enough people have problems using C++ to compile their SNC programs the
commands may have to be uncommented.
2001-01-14 22:15:40 +00:00
W. Eric Norum
9ab0e7ec59 New epicReadline.c support means that -DIOCSH_USE_READLINE flags
are no longer necessary.
2001-01-11 16:50:15 +00:00
W. Eric Norum
be8e43a227 Change to reflect new RTEMS install point. 2000-12-18 22:09:03 +00:00
W. Eric Norum
458337bb75 Change RTEMS support files to reflect changes in the way RTEMS board-support
packages are now installed.
Remove use of RTEMS_MAKEFILE_PATH environment variable.  Path to RTEMS
directories is now provided explicitly in configure/os/CONFIG.Common.RTEMS.
2000-12-18 16:05:26 +00:00
W. Eric Norum
d09da0eb6b Use a special RTEMS-specific version of fopen to add the RTEMS TFTP
prefix to path names.  This is a cleaner solution since it requires
no changes to any other EPICS code and works for all places that
files are opened.
2000-08-23 22:31:39 +00:00
W. Eric Norum
7cba58991f Always generate initialization (C++ constructor) code. 2000-08-22 19:14:50 +00:00
W. Eric Norum
c442b9e850 Since RTEMS sequencers use C++ constructors to register the sequencer
commands, they must be compiled with a C++ compiler.
2000-08-22 18:40:38 +00:00
Janet B. Anderson
08d961c27b Changes and renames for CFLAGS. 2000-05-23 19:08:30 +00:00
W. Eric Norum
ccaaa51d33 No need to specify iocsh as a PROD_LIBS since the makeApp scripts now do this. 2000-05-04 15:08:34 +00:00
W. Eric Norum
6ad0172747 Add -liocsh to linker arguments. 2000-05-03 21:48:31 +00:00
W. Eric Norum
34bf86f1d6 Add rule for converting .st' to .o'. RTEMS needs C++ constructors
to register sequencer commands and programs so the output of snc has
to be compiled with C++.
2000-04-21 22:45:19 +00:00
W. Eric Norum
6f7f4e6a9a Add flags for state notation compiler. 2000-04-16 22:46:10 +00:00
W. Eric Norum
547c51f422 Use common UNIX defines.
Modifications to allow building of RTEMS executable images with makeBaseApp.
2000-04-13 22:33:31 +00:00
Janet B. Anderson
3cf2a7bcb8 Changed os filenames to form CONFIG[_SITE].<host>.<target>. 2000-04-07 21:18:01 +00:00