Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: stahta01 on December 07, 2008, 03:10:52 am
-
I have an small bit of code I wish to compile using ADA it is currently in Pascal, but I know ADA better than Pascal.
Plan to use GCC-ADA/GNAT under WinXP SP2.
Can someone tell me how to setup CB to compile ADA?
I just figure no reason to redo someone else work if anyone has done it already.
Tim S
-
Never tried it... but the way gcc works, you should actually not have to do a single thing, just write Ada code and hit the button.
Gcc is a frontend that calls the C++ or Ada compiler or whatever else is needed, based on the type of source file.
-
Never tried it... but the way gcc works, you should actually not have to do a single thing, just write Ada code and hit the button.
Gcc is a frontend that calls the C++ or Ada compiler or whatever else is needed, based on the type of source file.
It's a little harder that that, but this wiki should make it easier to do.
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
There is an intermediate *.ali file(s); I need to figure out how to handle it.