This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Configtool libtarget.a build malfunction?


On Fri, Aug 10, 2001 at 01:09:24PM +0100, Julian Smart wrote:
> At 01:57 PM 8/10/01 +0300, harri.siirtola@vtt.fi wrote:
> 
> >It looks like the Configuration Tool 2.0 builds the library by replacing
> >lib members, not recreating the whole library. Example situation: I want to
> >remove POSIX pthread support and write my enhanced pthread_create() etc..
> >If I just uncheck POSIX thread support and rebuild, the pthread functions
> >remain in libtarget.a, resulting to redefinition error in my application
> >link phase. Is this intended for some obvious reason?
> 
> To be honest the makefiles are something of a mystery to me still. Hmm, 
> maybe the Configtool needs to issue a clean before the build...

All it realy needs to do is remove the install/lib directory. 

I think the clean target also removes any source code you may have in
the work tree. I found this out the hard way :-(

        Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]