Compiler Issues
For generic compiler problems, see the Ultra
C/C++ Compiler FAQ .
Why does the sample project included with Hawk not
compile?
The files in the sample project assume that you have installed the MWOS
directory within the C:\ drive. If this is not the case, you will have to
manually edit "sample.pjt" and "sample.mpj" and enter
in the correct location of MWOS.
How can I change the link order of relocatables in
a Hawk component?
This is a known limitation of Hawk v1.0. Engineers are working on
relaxing this restriction in a future version of Hawk.
How can I generate an own psect unit within a driver
component? Hawk always links this unit twice (as psect and as unit).
Exclude the psect unit from build with the unit properties and build this
unit manually after each change.
How can I compile my 68k assembly files without
adding a "Spanreg" directive?
The default environment for using *.a files has been changed. "XCC"
will always call "R68" with option "-bt", which then
requires a "Spanreg" directive in the assembly source. Add option
"-as=-bt" to XCC's command line. The original "-bt"
will still be produced, but a later "--bt" will cancel branch
size optimization again.
Debugger Issues
Why does the debugger have problems with void main()?
This is a known bug. A workaround is to use "int main()" instead.
Why can't I stop the debugger?
Most likely, you have a process which is waiting for user input. You must
input a value first before the debugger may be stopped.
Why can't the debugger display pointers correctly?
I have a "char **" variable, and its value shows up as garbage.
This is a known bug. It will be fixed in a future release.
Why is the debugger unable to find my source files?
I have set up the necessary paths. How do I get the debugger to set breakpoints?
Select Debug->View->Browse from the menu bar one time, to browse through
all symbols of the component. Now the debugger will find all the sourcefiles
and you can set breakpoints or run to the cursor.
Documentation Issues
On Help in the document "Using Hawk",
selecting "Setting the Project Properties", the help file describes
CodeWright and something like the old Makefile-Editor.
This is a known bug. Documentation will be fixed in a future release.
Why is there no OS-9® Technical Manual included with
my Hawk/68k?
The OS-9® Technical Manual is shipped with the BSP. It can also be found
on the Microware Product Documentation CD-ROM; contact Microware for more
details.
FasTrak Incompatibility Issues
Why can't I read my old FasTrak projects?
With FasTrak you had to handle your sourcefiles twice: within the CodeWright
project management and within the Makefile-Editor. Hawk integrates both in
single fully featured IDE. You can import your FasTrak generated makefiles
by right-clicking on a component in the project window and selecting "Import..."
in the PopUp menu. Select your makefile in the "Import FasTrak Makefile(s)"
menu.
Will I have to uninstall FasTrak before I install
Hawk?
Definetly not! You would delete neccessary things inside your MWOS tree. You
have OS specific headers in MWOS/[OS]/SRC/DEFS, ISP specific debug deamons
in MWOS/[OS]/[CPU]/CMDS and utilities for inetdb and rpcdb generation in MWOS/DOS/BIN.
FTP Issues
Why does Hawk's ftp-Manager not work with OS-9®
target machines?
This is a known bug. The ftp-Manager in Hawk is not capable of parsing the
output format of OS-9's dir command correctly. Most other operating systems
are supported.
How can I enable or disable the FTP entry within
the "File" menu?
The FTP entry can be enabled through the "Libraries..." entry in
the "Tools" menu.
Missing Item Issues
Why is Hawk missing header files? Where is my "types.h"
header file?
We do not ship out the headers in the MWOS/OS9/SRC/DEFS or MWOS/OS9000/SRC/DEFS
directories with our Hawk product, because those files are typically supplied
with the operating system. If you are working with a resident-hosted BSP or
Dev Kit, you will need to use the header files that were supplied with that
package. Be advised that if you are using ftp to transfer header files,
you should do so in ASCII mode.
Why is Hawk missing tools for generation and inspection
of inetdb and rpcdb?
Please get in contact with your local hardware or Microware representative
to get these utilities.
Networking Issues
The documentation states that Hawk requires SoftStax
on the target system. If I have ISP running, what should I do?
We do ship out the debug deamons for the new SoftStax network environment.
These are called "spfndpd" and "spfndpdc". If you still
use ISP on the target system, you have to use the ISP debug deamons, which
are named "ndpd" and "ndpdc". These were shipped with
FasTrak. If you do not own these ISP specific debug deamons, please get in
contact with your local hardware or Microware representative.
How can I seperate Hawk's *.ini files from the
executables in a network based installation?
You need an update of some modules. Please get in contact with your local
hardware or Microware representative.
Miscellaneous Issues
Why can't I pass more than one environment to the
target?
This is a known bug. You can enter more than one environment in the "Debug"
menu under the "Fork" tab. Use window "Target Environment Variables"
to enter your environments, seperate them with . Be aware, that the assigned
values are terminated with "\n\0" instead of "\0".
Why can't I change the background colour of Hawk's
telnet window?
When changing the colour inside "Terminal settings", use the left
button to select a foreground colour; use the right button to select a new
background colour. The change is visible after the next I/O through the telnet
window.
Why does the Error bar lead to "No errors
found" for errors shown in the build output window?
This is a known bug. See the Release Notes to Hawk.
How can I detect the edition of DOS-hosted utilities
to seperate FasTrak from Hawk Executables?
Make MWOS\DOS\BIN your working directory and use the utility "ident"
with option "-e" to get the executable file edition: "ident
-e .exe". For example "ident -e cpfe.exe" will return an edition
value "22" for Hawk v1.0.
Why is the character "+" no longer supported
in makefile MACRO definitions?
There is a new feature in OS9Make which allows to concatenate MACROs now.
For example you can set "TEST = hello" and then add "TEST +=
world" in a "C"-like way.
When I start Hawk I can see a window with "Tip
of the day". Can I see or print all of these tips?
You can choose the "Next Tip" button to cycle through each Tip of
the Day. There is no way to print the entire list at this time.
How can I use OS9Make within the Hawk IDE?
You can add your makefile by right-clicking on a component in the project
window and selecting "Add Unit(s)" in the Popup menu. With an extension
.mak your makefile will be integrated for automatic usage. Additionally you
have to set the attribute "Exclude from build" in all the source
units.
When I tried to do a system state connection, Hawk
crashed or froze up. What happened?
It probably means that you tried to make a system state connection to a target
that is actually in user state. The connection will fail, as expected. However,
Hawk itself goes into an unknown state, and may either lock up or suddenly
exit. There still may be problems when exiting Hawk and re-starting. To alleviate
the problem, the user may delete this set of registry keys: /HKEY_CURRENT_USER/SOFTWARE/Micorware
Systems Corp./Hawk/Debug/TDebugData
Why does the build tab frequently lose its contents?
One of two things has happened. If you are doing a build, the window is automatically
cleared; this is expected behaviour. However, there is also a bug where the
window is cleared when hitting the "Next Error" button. This will
be resolved in a future release of Hawk.
Why does Hawk crash when started from user level
in Windows NT?
This is a known problem. You will have to edit the registry: 1) Start-->Run.
Type "regedt32" (that allows you to edit the registry) 2) At this
point you have the Registry Editor window. Click on the "HKEY_LOCAL_MACHINE
on local machine" window. 3) Click on Software-->Microware Systems
Corp. 4) Click on the "security" tab of the Registry Editor window
5) Select "permission" 6) In the Registry Editor Permissions, click
on "everyone" and change your permission from "special
access" to "full control" 7) Continue with 3) for the "Hawk
xxx" subentry inside "Microware Systems Corp." and repeat
recursively for all neccessary subentries of "Hawk".
Back to FAQ's

FAQ: Microware Hawk
IDE