Page 1 of 1

dfferent case in file name  Topic is solved

Posted: Thu May 18, 2017 3:15 pm
by josesimoes
The files:
- os\common\ports\ARMCMx\compilers\GCC\chcoreasm_v7m.S
- os\common\ports\ARMCMx\compilers\GCC\chcoreasm_v6m.S
- os\common\startup\ARMCMx\compilers\GCC\crt0_v7m.S
- os\common\startup\ARMCMx\compilers\GCC\crt0_v6m.S

are using a capital S in the extension. This is inconsistent with the other asm files on the source code.
No big deal on Windows but this causes issues on Linux machines (that are case sensitive). We've run into this because we are using Travis CI for automated builds on our repo.

Re: dfferent case in file name

Posted: Thu May 18, 2017 4:15 pm
by Giovanni
Hi,

It is intentional.

The uppercase .S is required, it tells the assembler to preprocess files. There are also other ways but some toolchains require this. Note that makefiles have separate rules for .s and .S.

Giovanni

Re: dfferent case in file name

Posted: Thu May 18, 2017 4:19 pm
by josesimoes
Interesting... Wasn't aware of that... thanks for the explanation.