gnatmake doc says use "-largs " an example is gnatmake test.adb -largs -Lmylibs one.o which will cause gnatmake to add "mylibs" to the library search directories. And "one.o" object file will be added to the list of object files. Shoukld work for GPBuild as well. In <98r7sbFs66U1@mid.individual.net>, =?UTF-8?B?QmrDtnJu?= Persson writes: >Does anyone know how to pass command line parameters to Gnatmake and >GPRbuild that they should forward to gcc when they invoke gcc as a linker to >build a shared library? -largs seems to be used only when a program is >linked. When a shared library is linked it seems to be ignored. > >-- >Björn Persson >PGP key A88682FD