Notice that gcc can figure out by itself that it is compiling a C++
source. Quoting the gcc man page:

Scons do some tricks depending on extension. For example, qt4.py will
scan .cpp file for Q_OBJECT and moc them. It simply ignore .c files.

I attach here a log of the configuration step. It is currently compiling.
Notice that Aiksaurus doesn't seem to have been tested for and that
the client subdir in src is ignored. On Cygwin, lyxclient works.

Yes. Let us work out the problems one by one.

Note that Lars found a problem that disallow scons to succeed even
under linux. Please apply the attached patch before you investigate
other problems.

Bo
Index: src/SConscript
===================================================================
--- src/SConscript	(revision 13810)
+++ src/SConscript	(working copy)
@@ -142,6 +142,7 @@
   vc-backend.C 
   version.C 
   vspace.C 
+  main.C
 ''')
 
 if env.has_key('USE_ASPELL') and env['USE_ASPELL']:
@@ -151,22 +152,14 @@
 elif env.has_key('USE_ISPELL') and env['USE_ISPELL']:
   lyx_source += ['ispell.C']
 
-#
-# Create a static library for this directory as well
-# 
-lyx_base = env.StaticLibrary(
-  target = '$LOCALLIBPATH/lyx_base',
-  source = lyx_source
-)
 
 #
 # Build lyx with given frontend
 #
 lyx = env.Program(
   target = 'lyx',
-  source = ['main.C'],
+  source = lyx_source,
   LIBS = [
-    'lyx_base',
     'mathed', 
     'insets', 
     'frontends', 

Reply via email to