./configure at the top level generates all the Makefile from the
Makefile.in.

Thanks. I took a guess on that being it, and I was right. :)

I've re-built everything and have just now started running the 'test-stm8-large' regression tests, but am already seeing some warning messages. On several of the tests, I am getting these warnings:

?ASlink-Warning-Definition of public symbol '_strcmp' found more than once:
   Library: '../../device/lib/build/stm8-large/stm8.lib', Module: '_strcmp.rel'    Library: '../../device/lib/build/stm8-large/stm8.lib', Module: 'strcmp.rel'

?ASlink-Warning-Definition of public symbol '_strcpy' found more than once:
   Library: '../../device/lib/build/stm8-large/stm8.lib', Module: '_strcpy.rel'    Library: '../../device/lib/build/stm8-large/stm8.lib', Module: 'strcpy.rel'

I listed the contents of the stm8-large .lib file (with sdar -t), and indeed there are two entries for strcmp and strcpy.

I'm not sure how that happened. Comparing the non-large with large library Makefiles, they are identical bar a few initial lines referencing either the library name ("stm8" vs "stm8-large") or the SDCC command line (addition of "--model-large"). The only (single) mention of "strcmp" and "strcpy" is in the OBJ definition, where .rel files with those names are listed.

What did I do wrong?

Regards,
Basil Hussain


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to