Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] nulls in makefile building library

The problem was in the project creation. It was created as a shared lib
project and I wanted a static lib. Recreated it and it works.

Thank you.

Joao Filipe

> -----Original Message-----
> From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
> Behalf Of Treggiari, Leo
> Sent: quinta-feira, 9 de Dezembro de 2004 12:45
> To: cdt-dev@xxxxxxxxxxx
> Subject: RE: [cdt-dev] nulls in makefile building library
> 
> I'm unable to reproduce the problem you are seeing.  You should create
a
> Bugzilla report with as much of the project as you can - at least the
> .cdtbuild file for the project.  If you are using a tool chain
> definition other than the builtin Gnu definitions, please include that
> also.
> 
> Regards,
> Leo
> 
> -----Original Message-----
> From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
> Behalf Of Joao Filipe Placido
> Sent: Thursday, December 09, 2004 5:38 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: RE: [cdt-dev] nulls in makefile building library
> 
> Hi all,
> 
> Can anyone shed some light on this?
> It's really annoying having to manually correct the makefile every
time
> I want to build the library.
> 
> Thank you,
> --
> Joao Filipe Placido
> 
> P.S.: running eclipse 3.0.1 with CDT 2.1 RC4 in linux.
> 
> > -----Original Message-----
> > From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx]
On
> > Behalf Of Joao Filipe Placido
> > Sent: domingo, 5 de Dezembro de 2004 19:16
> > To: cdt-dev@xxxxxxxxxxx
> > Subject: [cdt-dev] nulls in makefile building library
> >
> > Hello all,
> >
> > I'm using eclipse 3.0.1 with CDT 2.1 RC4 and I'm getting these
'null's
> in
> > the makefile for a static library managed build project. It should
be
> > something like "ar ru" instead of "null null".
> > I had CDT 2.0.2 before with the same problem.
> > There doesn't seem to be a way to configure the archive tool for
> building
> > library targets with CDT.
> > Here's the generated makefile:
> >
> > <snip>
> >
> >
>
########################################################################
> ##
> > ######
> > # Automatically-generated file. Do not edit!
> >
>
########################################################################
> ##
> > ######
> >
> > ROOT := ..
> >
> > -include $(ROOT)/makefile.init
> >
> > RM := rm -rf
> >
> > # All of the sources participating in the build are defined here
> > -include sources.mk
> > -include $(SUBDIRS:%=%/subdir.mk)
> > -include objects.mk
> > -include $(DEPS)
> > -include $(ROOT)/makefile.defs
> >
> > all: libct.a
> >
> > libct.a: $(OBJS)
> > 	@echo 'Building target: $@'
> > 	null null  $@ $(OBJS) $(USER_OBJS) $(LIBS)
> > 	@echo 'Finished building: $@'
> >
> > clean:
> > 	-$(RM) $(OBJS) $(DEPS) libct.a
> >
> > .PHONY: all clean dependents
> >
> > -include $(ROOT)/makefile.targets
> >
> > </snip>
> >
> >
> > Is this a bug or is there a way to correct this by configuration?
> >
> > Thanks in advance.
> >
> > --
> > Joao Filipe Placido
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top