??? 03/07/10 16:44 Read: times |
#173918 - "magic" Responding to: ???'s previous message |
Robert Revens said:
*.rel files are SDCC's object files, so surely what the above is saying is that foomain.rel, foo1.rel and foo2.rel would only be linked, and NOT recompiled? Yes. SDCC recognizes the extension of file name(s) entered as parameters, and decides whether to compile or/and link based on them. (As a consequence, source files MUST have .c extension!) I don't like this concept, as it is example of the software trying to do "smart" things for the user, "guess" the user's intention, and I don't like that. I like to be the one in charge, to have full control (e.g. through command-line switches, explicitly commanding linking, in this case). Quite an example why I hate C, btw... ;-) JW |