>> Try to use --PREFIX or GHDL_PREFIX.

What I try to fix is :

  ghdl:*command-line*: cannot find "std" library


As suggested I tried the following;

$> export 
GHDL_PREFIX=/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/

$> ghdl --dispconfig
compiler command: /usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1
assembler command: as
linker command: gcc
command line prefix (--PREFIX): (not set)
environment prefix (GHDL_PREFIX):
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
default prefix: /usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
actual prefix: 
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
library directory:
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
ghdl: installation problem:
/usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1 not found

$>make
mkdir -p obj
ghdl -i --ieee=standard -fexplicit -P/opt/Xilinx/11.1/ISE/ghdl/unisim
--PREFIX=/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
--workdir=obj --warn-no-vital-generic ../mlite_pack.vhd
../plasma_3e.vhd ../ddr_ctrl.vhd ../plasma.vhd generated/ram_image.vhd
../uart.vhd ../eth_dma.vhd ../mlite_cpu.vhd ../alu.vhd ../bus_mux.vhd
../control.vhd ../mem_ctrl.vhd ../mult.vhd ../pipeline.vhd
../pc_next.vhd ../reg_bank.vhd ../shifter.vhd ../cache.vhd
../mt46v16m16.vhd ../tbench.vhd
ghdl:*command-line*: cannot find "std" library
make: *** [simtest] Error 1

No success.

Next I tried;

export 
PATH=$PATH:~/ghdl/usr/lib64:~/ghdl/usr/bin:~/ghdl/usr/libexec/gcc/x86_64-fedora_ghdl-l
inux/4.3.4


Next I tried;

$> export 
PATH=$PATH:~/ghdl/usr/lib64:~/ghdl/usr/bin:~/ghdl/usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4

$> ghdl --dispconfig
compiler command: /usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1
assembler command: as
linker command: gcc
command line prefix (--PREFIX): (not set)
environment prefix (GHDL_PREFIX):
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
default prefix: /usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
actual prefix: 
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
library directory:
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
ghdl: installation problem:
/usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1 not found


And as last;

$> ghdl --dispconfig
--PREFIX=/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/


compiler command: /usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1
assembler command: as
linker command: gcc
command line prefix (--PREFIX):
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
environment prefix (GHDL_PREFIX):
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
default prefix: /usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
actual prefix: 
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
library directory:
/home/spock/ghdl/usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
ghdl: installation problem:
/usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1 not found

best regards

Simon










On Thu, Jul 10, 2014 at 8:33 AM, Simon Thijs de Feber <[email protected]
> wrote:

> forgot to mention;
> Using the -PDIR option does not work.
>
>
>
>
>
> On Thu, Jul 10, 2014 at 7:42 AM, Simon Thijs de Feber <
> [email protected]> wrote:
>
>>
>> >> What is the output of: ghdl --dispconfig
>>
>> please see below
>>
>> compiler command: /usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1
>> assembler command: as
>> linker command: gcc
>> command line prefix (--PREFIX): (not set)
>> environment prefix (GHDL_PREFIX): (not set)
>> default prefix: /usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
>> actual prefix: /usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
>> library directory: /usr/lib64/gcc/x86_64-fedora_ghdl-linux/4.3.4/vhdl/lib/
>> ghdl: installation problem:
>> /usr/libexec/gcc/x86_64-fedora_ghdl-linux/4.3.4/ghdl1 not found
>>
>>
>>
>> best regards
>>
>>
>> Simon
>>
>
>
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to