Selon Dominik Madon <[EMAIL PROTECTED]>:

> Hello,
>
> I've successfully compiled ghdl but faild to get the hello world
> programm running. The elaboration command returns an error:
>
> [elephant]~/tmp> ghdl -e hello_world
> ld: fatal: option -dn and -P are incompatible
> ld: fatal: Flags processing errors
> collect2: ld returned 1 exit status
> ghdl: compilation error
>
> I have GNU ld 2.16.1 release.
>
> I googled a little bit and find out that it was related to shared
> libraries. How can I force static ones at this stage?
First you should use the '-v' option to see how gcc/ld are invoked.
Second, you could use the -Wl,-static option to force the use of static libs.

Tristan.

Reply via email to