Articles (edit)VIM (edit)SkinRSS Feeds
|
Articles /
How to compile the GNAT/GPLThis page describes how to compile GNAT/GPL. First you will need to download the all GNAT/GPL sources available. build-gnat-gplIt is all really done by the attached script.
Some notes about the script:
pathnames needed
script optionsThere are two options for the script get and conf. get will extract the sources and conf will configure the extracted sources. So the first time round you use: build-gnat-gpl get conf after that you only need build-gnat-gpl For reproducible result you can completely delete all the files (apart the downloaded archives of course) and then just re-extract them with the get option. current statusCurrently the script works on some older platforms. But there are some fixes needed if you have a newer Linux with a newer GTK. Pitfalls (edit)PangoThe supplied pango won't compile with newer freetypes. In such cases you should install pango from the distribution. PythonThe Python detector in GPS is quite primitive and supplies misleading error messages. The --with-python options needs to point to a directory from which to find lib/libpython.so and include/python/. On most systems that should be /usr. You might have to provide symbolic links to the actual files and directories. But even when the python development files are found you might still experience link error. glib.adsThe file /opt/gnat/include/gtkada/glib.ads does produce a style-warning which will break the XML/Ada compile. You need to remove the additional blank line. © 2005,2006 Martin Krischik, Content is available under GNU Free Documentation License. |