User forums > General (but related to Code::Blocks)

Can someone tell me how to setup CB to compile ADA

(1/1)

stahta01:
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

thomas:
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.

stahta01:

--- Quote from: thomas on December 08, 2008, 09:37:06 am ---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.

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version