This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Use MDK libraries with gcc?

Hi,
I am trying to use the MDK libraries (TCPnet) in an application that I build using gcc. The ld linker complains about the format of the TCP_CM3.lib file: "could not read symbols: File format not recognized".

Does anyone know about how to fix this?
Is it possible to convert the file format in some way?

/Peter

Parents
  • Yes. Get a TCP/IP library compiled using the same gcc as you build the rest of the project with.

    Or get the source code for a TCP/IP library and build.

    In theory, you could buy the source from Keil - but the license would probably not allow you to use that source with gcc so you better then also use a commercial Keil license for the compiler+linker in which case the Keil library file will be usable without a recompile.

Reply
  • Yes. Get a TCP/IP library compiled using the same gcc as you build the rest of the project with.

    Or get the source code for a TCP/IP library and build.

    In theory, you could buy the source from Keil - but the license would probably not allow you to use that source with gcc so you better then also use a commercial Keil license for the compiler+linker in which case the Keil library file will be usable without a recompile.

Children