comp.lang.ada
 help / color / mirror / Atom feed
From: mhardeman25@gmail.com
Subject: Compiling GNATColl on Windows
Date: Mon, 15 Dec 2014 05:06:59 -0800 (PST)
Date: 2014-12-15T05:06:59-08:00	[thread overview]
Message-ID: <09729271-32e5-4d7e-999f-2299a9c975fd@googlegroups.com> (raw)

I have been trying to compile GNATColl on Windows 8.1 and I'm having some trouble. I'm hoping somebody here has some tips/tricks that I may have missed.

I do have the latest source from the svn repository here:
http://viewvc.libre.adacore.com/viewvc.cgi/Public/trunk/gps/gnatlib/

Location of important components:
* GNATColl src: C:\development\tools\ada\gnatlib
* Adacore Gnat GPL: C:\development\tools\ada\GNAT\2014
* Mingw with Msys and GNAT: C:\development\tools\common\mingw
* Postgresql: C:\development\tools\sql\postgresql
* SQLite: C:\development\tools\sql\sqlite

Environment Variables:
* Path: C:\development\tools\ada\GNAT\2014\bin;C:\development\tools\common\mingw\bin;C:\development\tools\sql\postgresql\bin;C:\development\tools\sql\sqlite;C:\development\tools\java\jdk x64\bin;C:\Users\Michael\AppData\Roaming\npm

I have tried it both with GNAT\2014\bin first and with mingw\bin first. (switching which GNAT compiler/gnatlib I was using)

Compilation steps:
run msys.bat
cd /c/development/tools/ada/gnatlib
./configure -prefix=/c/development/tools/ada/gnat/2014/ --with-postgresql=/c/development/tools/sql/postgresql/ --with-sqlite=/c/development/tools/sql/sqlite/
make

Failure message using GNAT\2014\bin:
c:/development/tools/ada/gnat/2014/bin/../libexec/gcc/i686-pc-mingw32/4.7.4/ld.exe: cannot find -lpq
collect2.exe: error: ld returned 1 exit status
gprlib: c:\development\tools\ada\gnat\2014\bin\gcc execution error
gprbuild: could not build library for project gnatcoll_postgres
make: *** [build_library_type/relocatable] Error 4

Failure message using mingw\bin:
gprbuild -m -j0 -XLIBRARY_TYPE=relocatable -Pgnatcoll_build -p
gnatcoll.gpr:34:10: unknown file "xutil.ads"
gnatcoll.gpr:34:23: unknown file "xutil.adb"
gnatcoll.gpr:34:36: unknown file "xsnamest.adb"
gprbuild: "gnatcoll_build" processing failed
make: *** [build_library_type/relocatable] Error 4


             reply	other threads:[~2014-12-15 13:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 13:06 mhardeman25 [this message]
2014-12-15 13:25 ` Compiling GNATColl on Windows Michael Hardeman
2014-12-15 15:47   ` David Botton
2014-12-15 15:49     ` David Botton
2014-12-15 16:10       ` Michael Hardeman
2014-12-15 21:55         ` Björn Lundin
2014-12-15 22:37           ` Dmitry A. Kazakov
2014-12-15 23:14             ` Björn Lundin
2014-12-16  8:48             ` Björn Lundin
2014-12-16 10:10               ` Dmitry A. Kazakov
2014-12-16 10:21                 ` Björn Lundin
2014-12-15 23:00           ` Björn Lundin
2014-12-15 16:09     ` Michael Hardeman
2014-12-15 19:46 ` Shark8
2014-12-16 17:50   ` Michael Hardeman
2014-12-16 20:27     ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox