Is there a way to use the Visual Studio 2010 IDE with the Small Device C Compiler (SDCC)? I would like to compile using SDCC within Visual Studio.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to go this route then you are going to have to figure a lot of things out for yourself. Here is how I would start:
.slnand.vcxprojfiles to the directory with your Makefile and source code so Visual Studio can find it.At this point you should be able to build your project from inside Visual Studio.
Unfortunately, it looks like Visual Studio does not understand the format of the error messages produced by SDCC, so either you would have to reconfigure Visual Studio or recompile SDCC if you want that to work. I will leave that as an exercise for you.
I expect that Visual Studio will also trip over a lot of the SDCC keywords that it does not understand, such as “__code” so you might have to do something like this to hide those keywords from Visual Studio:
Overall, I expect you to have a lot of trouble.
If you’d like to see some instructions for using SDCC with Eclipse instead, see the Wixel User’s Guide.