Mark schrieb:
> Rufus Τ. F. schrieb:
>> Was steht in der Dokumentation zu "Use Microlib"? Das ist bei Dir
>> aktiviert ...
>
> Rufus, entschuldige mich für meine dummen Fragen.
> Was meinst du mit Dokumentation.
> Wie kann ich da nachsehen, was darin steht?
Ich bin zwar nicht Rufus, aber ich vermute, ihm geht es ähnlich wie mir:
Er kennt den Keil-Compiler nicht, weiß aber generell, wie ein
Compile-Link-Zyklus abläuft:
Von https://www.cprogramming.com/compilingandlinking.html
Linking refers to the creation of a single executable file from multiple
object files. In this step, it is common that the linker will complain
about undefined functions (commonly, main itself). During compilation,
if the compiler could not find the definition for a particular function,
it would just assume that the function was defined in another file. If
this isn't the case, there's no way the compiler would know -- it
doesn't look at the contents of more than one file at a time. The
linker, on the other hand, may look at multiple files and try to find
references for the functions that weren't mentioned.
Daher wundert er sich, dass in deinen Screenshots (anscheinend) keine
Linker-Optionen eingestellt werden und das einzige, was halbwegs danach
aussieht, als könnte es etwas beeinflussen (aber nicht eindeutig) ist
eben die Option "Use Microlib". Und dann geht er davon aus, dass du den
Keil-Compiler und die Entwicklungsumgebung nicht ganz ohne Dokumentation
bekommen hast und daher dort nachsehen kannst, was dieser Schalter tut.
MfG,
Arno
P.S: Und nächstes Mal bitte den Screenshot nicht im bmp-Format posten,
sondern etwas auswählen, was die Dateigröße sinnvoll reduziert. Siehe
Bildformate.