[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
- Re: MSVC compiler support [patch 7]: mkdir number of arguments, (continued)
- MSVC compiler support [patch 8]: isnan, finite and copysign, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 8]: isnan, finite and copysign, John W. Eaton, 2006/10/17
- Re: MSVC compiler support [patch 8]: isnan, finite and copysign, Michael Goffioul, 2006/10/18
- MSVC compiler support [patch 9]: Default object suffix, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 9]: Default object suffix, John W. Eaton, 2006/10/17
- MSVC compiler support [patch 10]: .oct file compilation, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 10]: .oct file compilation, John W. Eaton, 2006/10/17
- Re: MSVC compiler support [patch 10]: .oct file compilation, Michael Goffioul, 2006/10/18
- Re: MSVC compiler support [patch 10]: .oct file compilation,
John W. Eaton <=
- MSVC compiler support [patch 11]: CRUFT.DLL exported symbols (Fortran), Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 11]: CRUFT.DLL exported symbols (Fortran), John W. Eaton, 2006/10/25
- Re: MSVC compiler support [patch 11]: CRUFT.DLL exported symbols (Fortran), Michael Goffioul, 2006/10/25
- MSVC compiler support [patch 12]: Fortran code fix, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 12]: Fortran code fix, John W. Eaton, 2006/10/17
- Re: MSVC compiler support [patch 12]: Fortran code fix, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 13]: glob.h and fnmatch.h, Michael Goffioul, 2006/10/17
- Re: MSVC compiler support [patch 13]: glob.h and fnmatch.h, David Bateman, 2006/10/17
- Re: MSVC compiler support [patch 13]: glob.h and fnmatch.h, Michael Goffioul, 2006/10/17
- Re: MSVC compiler support [patch 13]: glob.h and fnmatch.h, John W. Eaton, 2006/10/17