Yes, your linker commands are messed up...
-Wl, -lm -Map=Debug\CPP_Project_With_Core.a_Library.map,--cref
says the compiler to pass the following commands to the linker. The commands are separated with ','
tells the linker to use the library libm.a (don't think that this is necessary...
-Map=Debug\CPP_Project_With_Core.a_Library.map
tells the linker to create a map file. This option has to be passed to the linker with '-Wl' but there is a missing ',' and the command gets interpreted ass a g++ command... And g++ does not know what this is...