Share

Ada 95 Appl. Support Component Lib.

Tracker: Bugs

5 can't build adaplugin on gentoo - ID: 1644690
Last Update: Comment added ( eveogro )

Hey

I'm trying to build adaplugin in a gentoo linux system but there is a
problem.

The gcc package doesn't come with GNAT. Instead there is a separated
package for the Ada compiler which gcc doesn't know about.

When running make on the root directory I get this error:

make[1]: Entrando no diretório
`/home/ogro/tmp/ada/adaplugin-0.1.0-src/util'
libtool --mode=compile gcc -c -g -I/home/ogro/tmp/ada/adaplugin-0.1.0-src
-I/home/ogro/tmp/ada/adaplugin-0.1.0-src/linux-gnu-i686-include -gnatf
util.ads
gcc -c -g -I/home/ogro/tmp/ada/adaplugin-0.1.0-src
-I/home/ogro/tmp/ada/adaplugin-0.1.0-src/linux-gnu-i686-include -gnatf
util.ads -fPIC -DPIC -o .libs/util.o
gcc: util.ads: Ada compiler not installed on this system
make[1]: ** [util.lo] Erro 1
make[1]: Saindo do diretório
`/home/ogro/tmp/ada/adaplugin-0.1.0-src/util'


I tried changing "gcc" to "gnatgcc" in make.conf.in but with no success.


]eVe[gsa.OgRo(BR)* ( eveogro ) - 2007-01-25 19:10

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2007-01-27 19:59
Sender: eveogro


I've created this GNAT Project file so gnatmake can build AdaPlugin by
itself.

I still got to make it build .so files instead of .o, but that's a start.
:)
File Added: adaplugin.gpr


Date: 2007-01-27 19:15
Sender: eveogro


I'm working on a GNAT Project file for AdaPlugin so I can build it on my
system.

The last part left is handling the linking against dlfcn.h.


Log in to comment.

Attached File ( 1 )

Filename Description Download
adaplugin.gpr GNAT Project file for building AdaPlugin Download

Change ( 1 )

Field Old Value Date By
File Added 213385: adaplugin.gpr 2007-01-27 19:59 eveogro