[Top][All Lists]

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

Re: dynamic object searching (was: Re: Dynamic objects)

From: Tim Murphy
Subject: Re: dynamic object searching (was: Re: Dynamic objects)
Date: Tue, 30 Apr 2013 19:45:09 +0100

That stuff about only using gnu tools is far from the case.

Re this usecase supporting multiple platforms. The reason why it
doesn't help is that all the rest of your makefile has similar
multiplatform problems which you have to address with ifeq and its
friends and it is nastier if you have make second guessing your

Regards, Tim

On 30/04/2013, Paul Smith <address@hidden> wrote:
> On Tue, 2013-04-30 at 17:48 +0100, Tim Murphy wrote:
>> i.e. I don't just have
>> load X.dll
>> I have to supply the recipe to build it on windows:
>> X.dll:
>>   cl.exe  /Fdo$@  .... # use microsoft's compiler
>> and on Linux
>> X.so:
>>    gcc -o $@  ... # using gcc
> Actually this supports Eli's point perfectly.  This is no problem.  You
> can just put both of those rules into your makefile, and if make defines
> an extension EXT for the current platform you can use "load X.$(EXT)"
> and when you're on Windows it will build one way and when you're on
> Linux it will build the other way.
> However, I'm still undecided on how to handle this.  I'll look at it
> again shortly.

You could help some brave and decent people to have access to uncensored
news by making a donation at:


reply via email to

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