source: trunk/libs/newlib/src/libgloss/pa/README @ 500

Last change on this file since 500 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 2.5 KB
RevLine 
[444]1                                 Misc
2                                 ....
3
4Naming Conventions
5------------------
6    The basic naming convention for Unix machines is that
7    hppa1.1-hp-proelf- is prepended to the front of each tool
8    name. For DOS machines, the names are truncated to just the base
9    tool name, like GCC.
10
11Installation
12------------
13    For this beta release, there are three tar files on the tape. A
14    simple "tar xvf [device name]" will work. One of the tarfiles is
15    all the sources, the others are binaries. One set is for a HP-UX
16    host, and the other set is for a sun4 host.
17
18    First, make a directory called /usr/cygnus/beta-941019. Cd into
19    this directory and type the tar command to extract the three tar
20    files. Once the tar files are off the tape, you can uncompress
21    and extract them. Typically, once they are installed, it's common
22    practice to make a symbolic link so the path
23    /usr/cygnus/beta-941019 works regardless which host. The actual
24    binaries are in /usr/cygnus/beta-941019/$host/bin, where host is
25    the configuration string for this machine.
26
27
28                          WinBond W89k board
29                          ..................
30Downloading
31-----------
32    To download type the "U" command to the ROM monitor. This will
33    load to the address as specified in the srecord. This address is
34    0x100000.
35
36To compile
37----------
38    Use these arguments on the command line for either the linker or
39    the compiler:
40
41        -Tw89k.ld -Ttext 100000
42
43To execute
44----------
45    Type a "g = 100000" at thr ROM monitor after downloading to the
46    target. After downloading, PC will be set to the correct address,
47    but this command will *always* restart the execution from the
48    beginning.
49   
50To debug
51--------
52    To connect GDB to the target, use the "target w89k [devicename]".
53
54                           Oki OP50N board
55                           ...............
56
57Downloading
58-----------
59    To download, type "r 0" to the ROM monitor. The 0 is cause the
60    monitor wants to offset the address in the srecord to 0x40000. The
61    problem is that it doesn't relocate data right. So, we set the
62    address for .text and .data to 0x40000, and we don't want any
63    offset.
64
65To compile
66----------
67    Use these arguments on the command line for either the linker or
68    the compiler:
69
70        -Top50n.ld -Ttext 40000
71
72 To execute
73----------
74    Type a "g 40000" at thr ROM monitor after downloading to the
75    target. After downloading, PC will be set to the correct address,
76    but this command will *always* restart the execution from the
77    beginning
78   
79To debug
80--------
81    To connect GDB to the target, use the "target op50n [devicename]".
82
Note: See TracBrowser for help on using the repository browser.