From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee177605ddb5cba3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!news-out.ntli.net!newsrout1-gui.ntli.net!ntli.net!news.highwinds-media.com!newspeer1-win.ntli.net!newsfe6-win.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: [gnuada] gcc 4.1.0 available User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.ada References: <1253120.DI8C0e8O9o@linux1.krischik.com> <47622979.Q8IlieK1cI@linux1.krischik.com> <441DF5F1.9060902@futureapps.de> <1937891.f5fS07abvD@linux1.krischik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 21 Mar 2006 21:15:59 GMT NNTP-Posting-Host: 82.10.238.153 X-Trace: newsfe6-win.ntli.net 1142975759 82.10.238.153 (Tue, 21 Mar 2006 21:15:59 GMT) NNTP-Posting-Date: Tue, 21 Mar 2006 21:15:59 GMT Organization: NTL Xref: g2news1.google.com comp.lang.ada:3532 Date: 2006-03-21T21:15:59+00:00 List-Id: 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