Re: [Ghdl-discuss] ghdl build trouble

2016-09-26 Thread Simon Thijs de Feber
I tried that.

First of all, it does not produce a binary.
Second, I still get

ghdl: unknown option '-Wl,-lm' for command '-e'

So something is wrong with my build of GHDL.

bg,

ST



On Sun, Sep 25, 2016 at 8:09 AM, Rene Doss  wrote:

> Hi,
>  I can not follow your problem.
>
> but I send you my ghdl command how I link it. Perhaps you get an idea.
>
>
>
> ghdl -a  --work=work --workdir=work cpu/pkg_mlite.vhd
> ghdl -a  --work=work --workdir=work cpu/pkg_alu.vhd
> ghdl -a  --work=work --workdir=work cpu/pkg_branch.vhd
> ghdl -a  --work=work --workdir=work cpu/pkg_control.vhd
> ghdl -a  --ieee=synopsys --work=work --workdir=work tb_sim.vhd
>
> ghdl -e   -Wl,c_sim.o -Wl,-lpthread --ieee=synopsys -fexplicit
> --workdir=work -Pwork tb_sim
> ghdl -r tb_sim  --wave=tbench.ghw
>
> Am 23.09.2016 um 12:07 schrieb Simon Thijs de Feber:
> >
> > Results of 1 :
> > It produces the .cf file and ghdl says :
> > ghdl: unknown option '-Wl,ax_wb_pli.o' for command '-m'
> >
>
>
> ___
> Ghdl-discuss mailing list
> Ghdl-discuss@gna.org
> https://mail.gna.org/listinfo/ghdl-discuss
>
___
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss


Re: [Ghdl-discuss] ghdl build trouble

2016-09-25 Thread Rene Doss
Hi,
 I can not follow your problem.

but I send you my ghdl command how I link it. Perhaps you get an idea.



ghdl -a  --work=work --workdir=work cpu/pkg_mlite.vhd
ghdl -a  --work=work --workdir=work cpu/pkg_alu.vhd
ghdl -a  --work=work --workdir=work cpu/pkg_branch.vhd
ghdl -a  --work=work --workdir=work cpu/pkg_control.vhd
ghdl -a  --ieee=synopsys --work=work --workdir=work tb_sim.vhd

ghdl -e   -Wl,c_sim.o -Wl,-lpthread --ieee=synopsys -fexplicit
--workdir=work -Pwork tb_sim
ghdl -r tb_sim  --wave=tbench.ghw 

Am 23.09.2016 um 12:07 schrieb Simon Thijs de Feber:
>
> Results of 1 :
> It produces the .cf file and ghdl says : 
> ghdl: unknown option '-Wl,ax_wb_pli.o' for command '-m'
>


___
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss