octave-maintainers
[Top][All Lists]
Advanced

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

Re: MSVC compiler support [patch 10]: .oct file compilation


From: John W. Eaton
Subject: Re: MSVC compiler support [patch 10]: .oct file compilation
Date: Tue, 24 Oct 2006 23:25:15 -0400

On 18-Oct-2006, Michael Goffioul wrote:

| John W. Eaton a écrit :
| > On 17-Oct-2006, Michael Goffioul wrote:
| >
| > | Oct files needs a different set of compilation flag, to switch from 
| > | dllexport to dllimport.
| > | To achieve this, I compile oct-objects in a different oct/ subdirectory.
| >
| > I think that instead of doing this, you should write a new pattern
| > rule that applies only to a particular list of targets.  For example,
| > like this:
| >
| > $(DLD_OBJ) : %.o : %.cc
| >     ... rule that applies to $(DLD_OBJ) here ...
| >
| > ifdef CXXPICFLAG
| >   $(DLD_PICOBJ) : %.o : %.cc
| >     ... rule that applies to $(DLD_OBJ) here ...
| > endif
| >
| > Since these rules will only be used in src/Makefile.in, I think they
| > can be defined there instead of in Makeconf.in.
| >   
| 
| The attached patch is even simpler and seems to work OK. It shouldn't change
| anything on other systems.

OK, I applied this patch.  To avoid confusion, I think we should
rename the XTRA_CXXDEFS variable to be CXX_DLL_DEF or similar, but I
will wait until I've applied all the patches to do that.

Thanks,

jwe



reply via email to

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