comp.lang.ada
 help / color / mirror / Atom feed
* Compiling GNATColl on Windows
@ 2014-12-15 13:06 mhardeman25
  2014-12-15 13:25 ` Michael Hardeman
  2014-12-15 19:46 ` Shark8
  0 siblings, 2 replies; 16+ messages in thread
From: mhardeman25 @ 2014-12-15 13:06 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-12-16 20:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-15 13:06 Compiling GNATColl on Windows mhardeman25
2014-12-15 13:25 ` 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

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