Yeah, installing the ada-4.4 version from the corrected link fixed my problems.
Thanks for your help, i really appreciate :)


Greetings,
Torsten


Am 27.12.2013 um 21:09 schrieb David Koontz <[email protected]>:

> 
> On 28 Dec 2013, at 12:23 am, Brian Drummond <[email protected]> wrote:
> 
>> It has been observed before that this is a rather old Gnat installation.
>> ghdl has been successfully built using FSF Gnat 4.6.3, 4.7.2,
>> 4.8.various, Gnat GPL 2013 and some other versions.
>> 
>> David's (successful) builds use Gnat GPL 2013 as the Ada compiler; I
>> don't know offhand which compilers he gave up on...
> 
> No, that's building the gcc version of ghdl.  And it worked with the first 
> version I tried (the latest for Adacore).
> 
> Torsten is trying to build ghdl_mcode.
> 
>> Some builds (mine at least) have been bootstrap builds, also building
>> libada from the same source code release.
> 
> (See Below).
> 
>> I suspect you may be compiling a 4.8 compiler and attempting to link
>> against a 4.3 libada/runtime system : if so, problems do not surprise
>> me.
> 
> This is a gnat Ada language compatibility issue I think.
> 
>> Is there a compelling reason you need to build with 4.3? If so, you will
>> at least need to configure with --enable-libada and verify that it is
>> building and installing correctly; IMO it would be simpler to upgrade
>> the Ada compiler instead.
>> 
>> Thanks for persisting and reporting : knowing what DOESN'T work is at
>> least as important as knowing what does...
> 
> 
> The problem is (now that he's actually revealed some actual versioning) is 
> that he isn't using the same compiler I am:
> 
>> ld: warning: can't find atom for N_GSYM stabs ada_main__u00439:G(0,18) in 
>> b~ghdl_mcode.o
>> ld: warning: can't find atom for N_GSYM stabs 
>> ada__exceptions__exception_propagation__others_valueXn:G(0,141)=k(0,142)=B(0,34)
>>  in 
>> /usr/local/ada-4.3/lib/gcc/i686-apple-darwin8/4.3.0/adalib/libgnat.a(a-except.o)
>> ld: warning: can't find atom for N_GSYM stabs 
>> ada__exceptions__exception_propagation__all_others_valueXn:G(0,141) in 
>> /usr/local/ada-4.3/lib/gcc/i686-apple-darwin8/4.3.0/adalib/libgnat.a(a-except.o)
> 
> From my Ada install:
> 
> /usr/local/ada-4.3/lib/gcc/i686-apple-darwin9
> 
> He's got one that says darwin8 which would have been OS X 10.4. 
> 
> So, now let's see if I specified the correct compiler:
> 
> david_koontz@Macbook: ls
> /usr/local/ada-4.3/libexec/gcc/i686-apple-darwin9
> 4.3.0/ 4.4.0/
> 
> Has two versions of libraries.  And build with 4.4.0:
> 
> david_koontz@Macbook: ghdl --version
> GHDL 0.31dev (20132311) [Dunoon edition]
> Compiled with GNAT Version: 4.4.0 20080314 (experimental)
> mcode code generator
> 
> Taking apart Gnati386-4.3-xcode3.0.dmg, we find it's the version I have 
> installed:
> 
> <Screen Shot 2013-12-28 at 4.23.08 am.JPG>
> (Using Pacifist)
> 
> AND I DID specify the wrong version:  (From the build instructions):
> 
> # To obtain a 32 bit GNAT/gcc toolsuite for building ghdl_mcode on OS X you
> # could use  http://www.macada.org/macada/Downloads_files/Gnati386-4.3.dmg
> # from http://www.macada.org/macada/Downloads.html  For OS X and this GNAT
> # you want /usr/local/ada4.3/bin to appear before any other gcc in your 
> # PATH.  This builds with the supplied GNAT and gcc both targeting a 32 
> # result.
> 
> What I have installed is:
> Gnati386-4.3-xcode3.0.dmg
> http://www.macada.org/macada/Downloads_files/Gnati386-4.3-xcode3.0.dmg
> 
> I've clearly locally marked this as the one I have installed, and I had to 
> verify it after rebuilding my OS X image following a 10.9 install. While I 
> had both disk images, I wouldn't have been able to tell which one without 
> knowing the differences between the two.
> 
> A look in Gnati386-4.3.dmg (the wrong one, via Pacifist) shows:
> 
> <Screen Shot 2013-12-28 at 4.39.02 am.JPG>
> 
> It doesn't contain the 4.40 version and isn't darwin9.
> 
> This is obviously a build instruction error for which I apologize. 
> 
> Please use:
> 
> Gnati386-4.3-xcode3.0.dmg
> http://www.macada.org/macada/Downloads_files/Gnati386-4.3-xcode3.0.dmg
> 
> You could delete /usr/local/ada-4.3 in it's entirety before installing the 
> (correct) package.  There are no man pages linked.
> 
> The package you have installed does have something in
> /Library/Application Support/Apple/Developer/Tools/{Plug-ins, Project 
> Templates, Target Templates} you could either remove or ignore (things 
> starting with Ada, collective the Ada-Plugins).  Ada is not supported  by 
> Apple. 
> 
> If Library/Application Support/Apple/Developer exists, it's because the 
> installer package created it, and you can probably safely remove it.  Newer 
> versions of Xcode are self contained app packages.  It doesn't exist in 
> either /Library or ~/Library on my system.
> 
> The package doesn't have an uninstaller.
> 
> I've corrected the Wiki page for the ghdl_mcode build.
> 
>> I suspect you may be compiling a 4.8 compiler and attempting to link
>> against a 4.3 libada/runtime system : if so, problems do not surprise
>> me.
> 
> He didn't compile a compiler.  Bootstrapping doesn't help unless you can 
> build a gnat version that will assembly i386.S correctly.
> He's trying to compile with gcc/gnat-4.3 and link to libgnat 4.3.
> 
> At first glance libgnat in 3.3 appears to be incomplete.  I really don't want 
> to play gnat archeologist or proctologist.  
> 
> The issue here is finding one that will compile and link the various 
> ghdl_mcode bits together.  I found one (and as I recall it was the first one 
> I tried, too).  I accidentally pointed him at something different.
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Ghdl-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/ghdl-discuss


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to