[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of mkoctfile with autoconf/automake
From: |
John W. Eaton |
Subject: |
Re: use of mkoctfile with autoconf/automake |
Date: |
Fri, 2 Mar 2007 12:15:37 -0500 |
On 2-Mar-2007, Eric Chassande-Mottin wrote:
| > Why not just use mkoctfile as a compiler? It can compile only (use -c
| > to create only object files) and link objects into a shared/dynamic
| > library (.oct file).
|
| this is what i try to do in the example attached here.
| I substitute the CXX by mkoctfile in configure.ac :
|
| [...]
| dnl set C++ compiler to mkoctfile
| CXX=$MKOCTFILE
| AC_SUBST(CXX)
| [...]
I didn't mean to suggest that you could expect it to work this way,
just that you could use it in a way similar to the way you use any
compiler. You will have to write some pattern rules specifically for
it, or at the least, make sure that the CXXFLAGS variable is also
adjusted appropriately for mkoctfile.
jwe