beautypg.com

Unresolved is fatal, Warn, Warning is fatal – Zilog ZUSBOPTS User Manual

Page 300: Unresolved is fatal warn warning is fatal, Syntax, Example, Examples

background image

Linker Commands

UM017105-0511

272

Zilog Developer Studio II – ZNEO™
User Manual

Syntax

SPLITTABLE

segment_list

Example

SPLITTABLE CODE, ROM_TEXT

UNRESOLVED IS FATAL

The

UNRESOLVED IS FATAL

command causes the linker to treat undefined external sym-

bol warnings as fatal errors. The linker quits generating output files immediately if the
linker cannot resolve any undefined symbol. By default, the linker proceeds with generat-
ing output files if there are any undefined symbols.

Syntax

[-] < UNRESOLVED > < IS | = >

Examples

-unresolved=fatal

or

UNRESOLVED IS FATAL

WARN

The

WARN

command specifies that warning messages are to be generated. An optional

warning file can be specified to redirect messages. The default setting is to generate warn-
ing messages on the screen and in the map file.

Syntax

[-]

WARN

= []

Example

-WARN=warnfile.txt

WARNING IS FATAL

The

WARNING IS FATAL

command causes the linker to treat all warning messages as

fatal errors. The linker does not generate output file(s) if there are any warnings while
linking. By default, the linker proceeds with generating output files even if there are warn-
ings.

This manual is related to the following products: