comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: [gnuada] gcc 4.1.0 available
Date: Tue, 21 Mar 2006 21:15:59 GMT
Date: 2006-03-21T21:15:59+00:00	[thread overview]
Message-ID: <pan.2006.03.21.21.19.57.562415@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: 1937891.f5fS07abvD@linux1.krischik.com

On Tue, 21 Mar 2006 20:34:05 +0100, Martin Krischik wrote:

> Dr. Adrian Wrigley wrote:
> 
>> (after disabling the technicolor prompt!)
> 
> What - you don't like the prompt? Do you know that 15 years of experience
> and continues improvement went into that extraordinary super prompt! The
> layout and colors have been optimized to work equally well with MS-DOS,
> OS/2, Windows NT and Linux and give you all the informations you need for
> all your shell work in just one line!! And most importantly: It tells you
> which GNAT is currently active.

only 15 years?  My prompt has over 20 years of experience built in!

By the way... since you're nearby...

I'm having difficulty building stuff with GtkAda packages,
for example, /opt/gnat/gcc/share/examples/gtkada/editor

Everything goes fine until the final link:

gnatlink gladeedit.ali -g -L/opt/gnat/gcc/lib -lgtkada -L/usr/X11R6/lib64
-L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz
-lglitz -lm
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
gnatlink: cannot call /opt/gnat/gcc/bin/gcc
gnatmake: *** link failed.
make: *** [all] Error 4

$ ls -l /opt/gnome/lib64/libgtk-x11-2.0*
lrwxrwxrwx 1 root root      26 2006-03-18 19:26 /opt/gnome/lib64/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.800.10
-rwxr-xr-x 1 root root 3362816 2006-03-14 00:47 /opt/gnome/lib64/libgtk-x11-2.0.so.0.800.10

I can see the -L/opt/gnome/lib64 in the gcc line, but somehow, it doesn't
find the gtk-x11-2.0  (and gdk and probably other stuff)

why doesn't it find the library?

And I have just been playing with building 32-bit binaries with gnat,
it tries (and fails) to link with the 64-bit libgnat.a.
I'm slightly surprised it even tries to link the wrong architecture
library in.  Do you think it would be straightforward for me to
build the 32-bit version of libgnat.a, and get the "-m32" option
working properly?
--
Adrian




  reply	other threads:[~2006-03-21 21:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-12 16:34 [gnuada] gcc 4.1.0 available Martin Krischik
2006-03-14 19:26 ` Martin Krischik
2006-03-14 22:31   ` Dr. Adrian Wrigley
2006-03-14 23:02     ` Jeffrey Creem
2006-03-17 15:42       ` trg
2006-03-18  0:59         ` Jeffrey Creem
2006-03-14 23:43     ` Ludovic Brenta
2006-03-15 17:56       ` Martin Krischik
2006-03-16 21:33         ` Ludovic Brenta
2006-03-17 16:32           ` Martin Krischik
2006-03-17 17:08             ` Martin Krischik
2006-03-17 20:27               ` Björn Persson
2006-03-15 17:50     ` Martin Krischik
2006-03-16  9:56       ` Jerome Hugues
2006-03-16 17:13         ` Pascal Obry
2006-03-15 20:02     ` Björn Persson
2006-03-17 15:46 ` trg
2006-04-01 15:03   ` Martin Krischik
2006-03-18  1:32 ` Dr. Adrian Wrigley
2006-03-19  9:59   ` Martin Krischik
2006-03-19 20:24     ` Dr. Adrian Wrigley
2006-03-20  0:23       ` Georg Bauhaus
2006-03-21 12:04         ` Rob Norris
2006-03-21 13:49           ` Dr. Adrian Wrigley
2006-03-21 19:34             ` Martin Krischik
2006-03-21 21:15               ` Dr. Adrian Wrigley [this message]
2006-03-18 15:56 ` Björn Persson
replies disabled

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