Selon "J.D. Cole" <[EMAIL PROTECTED]>:

> Hi,
>     I am also having the same problem building from svn source (version
> 40 after using ./dist.sh source, etc.), it look like:
>
> dc -O -g -I- ../../../../gcc-4.0.2/gcc/vhdl/grt/grt-unithread.adb
> gnatbind -Lgrt_ -o run-bind.adb -n ghdl_main.ali
> error: "system.ads" has been modified and must be recompiled
> error: "s-memory.adb" must be recompiled ("ada.ads" has been modified)
> error: "ada.ads" has been modified and must be recompiled
> error: "a-except.adb" must be recompiled ("ada.ads" has been modified)
> .....
>
> I am building with:
>  gcc-3.4.4
>  gcc-core source tree  4.0.2
> 3.15p-r5 (originally tried with 3.45 but it resulted in the same problems)
>
> and my configuration was:
>
> ./configure --enable-languages=vhdl (Ada in GCC *NOT* enabled)
>
> Let me know if you need more information

I suppose this is a PATH problem.
gnatbind calls the gcc driver.  It should be of course an Ada-aware gcc.
If the first gcc in your PATH is a non-Ada aware gcc, it fails.
So be sure to have the Ada aware gcc first in your path while compiling ghdl.

You can try 'which -a gcc' to see all the gcc in your PATH.

Hops this helps.

Tristan.


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

Reply via email to