Changeset 88d594a in rtems for c/UPDATE_HELP
- Timestamp:
- 05/24/95 21:39:42 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5b9d6ddf
- Parents:
- bf61e45c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/UPDATE_HELP
rbf61e45c r88d594a 3 3 # 4 4 5 In the directory "update_tools", there are a set of tools to aid in 6 making the application source changes necessary to address some 7 of the changes in the RTEMS API between release 3.1.0 and 3.2.0. 5 Between RTEMS 3.1.0 and 3.2.0, every RTEMS defined symbol made visible 6 was renamed. This document describes the change and the tools provided 7 to assist you in updating your RTEMS 3.1.0 application. 8 8 9 The primary change addressed by these tools is the addition of 10 "rtems_" or "RTEMS_" as a prefix on EVERY user visible RTEMS 11 provided constant and routine. The primary factor in the decision 12 to make such a sweeping change was conflicts between the 13 the RTEMS and POSIX API's. 9 [NOTE: This change was not included in snapshots prior to 3.1.15.] 10 11 DESCRIPTION OF NAME CHANGES: 12 ============================ 13 14 The primary change was the addition of the prefix "rtems_" or "RTEMS_" to 15 EVERY user visible RTEMS provided constant and routine. The primary 16 factor in the decision to make such a sweeping change was conflicts 17 between the the RTEMS and POSIX API's. 18 19 20 TO UPDATE YOUR APPLICATION: 21 =========================== 22 23 The update script requires that Perl be installed on your computer. 24 It has only been tested with Perl 5.x. 25 26 After RTEMS has been built, in the directory "$r/<BSP>/update_tools", will 27 be a set of tools to aid in making the application source changes necessary 28 to address (hopefully) all of the name changes in the RTEMS API between 29 releases 3.1.0 and 3.2.0. 30 31 The update shell script is the only executable which is invoked by the 32 user directly. The word-replace Perl script is invoked by the update 33 shell script. 14 34 15 35 WARNING: These tools modify the files IN PLACE!!! Backup your 16 source before using these tools.36 source before using these tools. 17 37 38 To udpate your application, change directories to the top of your application 39 source tree and execute the update script. It should be something similar 40 to the following: 41 42 cd MY_APP 43 $r/<BSP>/update-tools/update 44 45 The update script will ask if you have backed up your source code before 46 beginning the update process. While operating on files, it will print 47 the name of each file and a dot for each change made to the source file. 48 49 NOTE: These scripts do not attempt to address changes in calling 50 sequences. After the script has run, you will need to update 51 calls to rtems_clock_get(), rtems_timer_fire_after(), and 52 rtems_timer_fire_when() by hand.
Note: See TracChangeset
for help on using the changeset viewer.