Also no success,,

ghdl -a -Wa,--32 hallo.vhdl    This is ok.

And now the crash.

ghdl -e -Wa,--32 -Wl,-m32 hello_world
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libdl.so when searching
for -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libdl.a when searching for
-ldl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib64/libdl.so when searching for -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib64/libdl.a when searching for -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -ldl
collect2: ld returned 1 exit status
ghdl: compilation error
r...@x1-6-00-1d-92-05-7d-7a:~/fpga/VHDL/ghdl>  

Rene



Tristan Gingold schrieb:
> On Mon, Oct 12, 2009 at 04:06:02PM +0200, R.Doss wrote:
>   
>> Karthik Baddam schrieb:
>>     
>>> did try the -Wl option ??
>>>
>>>       
>>  ghdl -e -Wc,-m32 -Wa,--32 -Wl,--32 hello_world
>> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
>> i386 architecture of input file `e~hello_world.o' is incompatible with
>> i386:x86-64 output
>> and the same long list.
>>
>> What are this options? Is this something from gcc?
>> I have read ghdl is a special gcc compiler.
>>     
>
> Well, not really.
>
> I was able to use ghdl on x86-64 using these options:
>
> ghdl -a -Wa,--32 t.vhdl
> ghdl -e -Wa,--32 -Wl,-m32 tb
>
> Tristan.
>
> _______________________________________________
> 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