AnsweredAssumed Answered

mwldmcf.exe linker can't find library

Question asked by Michael DeClerck on Feb 6, 2013
Latest reply on Feb 8, 2013 by Michael DeClerck

Hi,

 

I get the following linker error, and I don't know why.

"### mwldmcf.exe Usage Error:

#   No library file found matching 'libcf{.dylib|.a}' or 'cf'"

 

I am using the following flags for the linker to specify the libraries:

-lr "C:\Program Files\Freescale\CodeWarrior for ColdFire V7.0\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Lib"

-lr "C:\Program Files\Freescale\CodeWarrior for ColdFire V7.0\ColdFire_Support\Runtime"

-lr "C:\Program Files\Freescale\CodeWarrior for ColdFire V7.0\ColdFire_Support\Libraries"

-l+C_4i_CF_Runtime.a

-l+C_4i_CF_SZ_MSL.a

 

I even have the environment variables set:

CWFolder=C:\Programs Files\Freescale\CodeWarrior\CodeWarrior for ColdFire V7.0

MWLibraries=%CWFolder%\ColdFire_Support\Libraries;%CWFolder%\ColdFire_Support\Runtime;%CWFolder%\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Lib

 

I followed this post: How to use Linker from command line(error: mwldmcf.exe: No library file found matching  mwldmcf.exe: 'libC_TRK_4i_CF_SZ_MSL.a{.dylib|.a}' or 'C_TRK_4i_CF_SZ_MSL.a' )

 

I searched for "libcf.a", "cf.a", and "*.dylib" in the CWFolder and I get no results.

 

Any advice or tips?

 

Outcomes