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

Q: Compile program using Makefile under RVDS 4.0

Note: This was originally posted on 28th February 2012 at http://forums.arm.com

I have a sample program together with its Makefile.
May I know how to run the Makefile to compile the C programs under RVDS 4.0?
Thank you.
  • Note: This was originally posted on 28th February 2012 at http://forums.arm.com

    Thank you, Joseph.

    Sorry that I didn't make my question clear enough.
    I was unable to source to ARM compile toolchain, such as ARMCC, ARMASM etc, provided by RVDS installed on Windows.
    I was then installed the RVDS on linux platform and found the path to the compiler tools, as followed:
    /ARM/RVCT/Programs/4.0/400/linux-pentium/

    However my compilation shows the error of "cannot open source input file "string.h": No such file or directory".
    If there is anyone know about the solution, please kindly advice.

    Thank you.
  • Note: This was originally posted on 28th February 2012 at http://forums.arm.com

    I have solved the problem.
    It requires manually define include directory to /ARM/RVCT/Data/4.0/400/include/unix/ and also define libpath to /ARM/RVCT/Data/4.0/400/lib/armlib/ & /ARM/RVCT/Data/4.0/400/lib/cpplib/

    Thanks.  B)
  • Note: This was originally posted on 28th February 2012 at http://forums.arm.com

    If you are running Linux, you can usually use the makefile as:
    $> make something

    For example, most makefiles will have a "all" target, so you can simply run
    $> make all

    If you can post your makefile here can can give you more details.
    regards,
    joseph