[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making shared libraries (DLLs) on Windows: -no-undefined

From: John Brown
Subject: Re: Making shared libraries (DLLs) on Windows: -no-undefined
Date: Mon, 30 Apr 2007 11:27:42 +0000 (UTC)
User-agent: Loom/3.14 (

Brian Dessent <brian <at>> writes:

> Libtool will *not* create shared libraries without -no-undefined on PE
> targets, period.
>  So yes, you
> need to either use -no-undefined unconditionally, or conditionalized on
> PE targets.  See
> <> for a little
> of the history.
> Brian

I am not really convinced that this behaviour is right. It looks like
discrimination against users of the evil M$ O/S , but I know nothing about
writing programs for multiple platforms, so I cannot argue.

Just for my information:

I gather that on Linux, you *can* create a shared library with undefined 

1) Why would anyone do that intentionally?
2) Assuming that it was a mistake, could it happen silently?
3) What are the consequences?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]