From: <se...@in...> - 2004-08-23 15:42:32
|
On Mon, 2004-08-23 at 09:48, Grzegorz Jakacki wrote: > Gilles J. Seguin wrote: > > I have committed "added using namespace Opencxx" to > > verbose/VerboseClass.mc verbose2/VerboseClass2.mc > > > > "added rule to build SyncClass.o" to wrapper/Makefile > > in opencxx/examples directory. > > > > still have > > occ2 -c WrapperClass.cc -o WrapperClass.o > > occ2 -o SyncClass.exe WrapperClass.o SyncClass.o -locc -lltdl > > occ2: don't know how to handle file `WrapperClass.o' > > I fixed compilation problem, but there is still something wrong. I am > leaving it for now. > > > we can forgot that the examples directory does not work > > from a build directory for release 2.8, will make it work later. I have done it. At first I was thinking, it was necessary because "make dist" was including everything CVS directory included from the examples directory. Somebody has put examples in EXTRA_DIST, do not do that. > That's right, examples will run seamlesly only after occ is installed. > But I think there is no harm in leaving it that way. Making examples > work with uninstalled occ is a big effort and it will definitely pollute > makefiles with things like 'libtool -dlopen @abs_top_builddir@/libocc.la > occ' etc., while examples should be clean and simple. I have to reread the documentation. Since we are doing more relinking because of "make check". configure utility will be better with --disable-fast-install by default. Or force relinking at install time. > Moreover, examples can also be used to validate if installation went > ok. Maybe later we can make examples run under 'make installcheck' ? |