View Single Post
Old 18 December 2019, 23:16   #1194
JuanLuis
Registered User
 
Join Date: Dec 2018
Location: Málaga
Posts: 45
I'm using gas (GNU Assembler) GNU assembler (GNU Binutils) 2.31.51.20181223-111052 with the tool chain 6.4.1b m68k-amigaos-gcc (GCC) 6.4.1b 20181227-113300.

GNU Assembler works fine and I was able to execute assembler programs on WinUAE, but when I make a mistake forgetting a symbol definition GNU assembler or ld treat the error like a warning. I would like the toolchain treat this kind of warnings like errors.

For instance, I define:
msg_length = msg_end - msgd /* error: msgd instead of msg */

GNUAssembler or linker output:
...
UNDEFINED SYMBOLS
msgd

...
BUILD SUCCESSFUL (total time ...)

The build is considered successful. I have tried to use --error-unresolved-symbols and -Wl,--error-unresolved-symbols, with no success. The option is not recognized.

Is there any solution for this? Is this solved/fixed in the next version of chaintool?
JuanLuis is offline  
 
Page generated in 0.04109 seconds with 11 queries