[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cons and different environments
From: |
listen |
Subject: |
Re: cons and different environments |
Date: |
Tue, 22 Feb 2005 18:02:02 +0100 |
Daniel Graupner <address@hidden> schrieb am 22.02.2005,
17:48:19:
> Program $CONS 'Scheduler',
> 'Scheduler.cpp','../classes/Scheduler.cpp','../classe
> s/SchedulerEvent.cpp','../classes/ErrorHandler.cpp';
> Program $CONS 'Configuration', 'Configuration.cpp',
> '../classes/Configuration.cp
> p', '../classes/ErrorHandler.cpp';
>
>
> Scheduler builds fine, to build Configuration I need the Compiler-Switch
> '-lxerces-c'. I tried to
> clone the $CONS Environment in $CONS2 with LIBS=>'-lxerces-c' .
> But no cons exits with the error that there are two ways to build
> '../classes/ErrorHandler.cpp'. OK,
> I know why this error appears, but I have no idea how to deal with it!
Hmm, is it common to define a 2nd environment and write:
Program $CONS 'Configuration', 'Configuration.cpp',
'../classes/Configuration.cpp', '../classes/ErrorHandler.o';
This seem to work.
Regards, Daniel.