This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto][patch] Add initial gold plugin


On Thu, Aug 28, 2008 at 1:15 AM, Rafael Espindola <espindola@google.com> wrote:
>> Since you are making other use of libtool here, I suggest using its
>> support for dynamic loading (with libltdl when necessary) rather than
>> hardcoding -ldl and so restricting the supported hosts arbitrarily.  (I
>> have not looked at the details of how or why -ldl is being used.)
>
> This is a lto plugin for Gold. I don't think using -ldl is limiting
> the supported platforms. I can change that in the future, but get it
> working is a bigger priority.

More to the point, there could be Windows cross compilers that could
target elf targets.  Think embedded targets where many people use
windows as the host machine.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]