dfferent case in file name Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
josesimoes
Posts: 91
Joined: Sat Feb 18, 2017 11:50 am
Has thanked: 43 times
Been thanked: 23 times

dfferent case in file name  Topic is solved

Postby josesimoes » Thu May 18, 2017 3:15 pm

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.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: dfferent case in file name

Postby Giovanni » Thu May 18, 2017 4:15 pm

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

josesimoes
Posts: 91
Joined: Sat Feb 18, 2017 11:50 am
Has thanked: 43 times
Been thanked: 23 times

Re: dfferent case in file name

Postby josesimoes » Thu May 18, 2017 4:19 pm

Interesting... Wasn't aware of that... thanks for the explanation.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 6 guests