Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Create my toolchain
Create my toolchain [message #147522] Sun, 26 June 2005 13:28 Go to next message
Eclipse UserFriend
Originally posted by: hibou.bonbon.net

Hello,

I have followed the tutorial to make a custum toolchain (Managed Build
Extensibility Reference Document (for CDT 2.1))
Then, I run the runtime workbench, I can create the new project-type.
But the makefile generator create this makefile while I am importing a
source file :

############################################################ ####################
# Automatically-generated file. Do not edit!
############################################################ ####################

ROOT := ..

-include $(ROOT)/makefile.init

RM := rm -f

# 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: test

test: $(OBJS)
@echo 'Building target: $@'
null null $@ $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building: $@'

clean:
-$(RM) $(OBJS) $(DEPS) test

..PHONY: all clean dependents

-include $(ROOT)/makefile.targets


As you can see, there is "null null". I don't know how to specify to the
makefile generator the tool which will link...
For compiling the source, there is no problem, it takes "ccc" :
############################################################ ####################
# Automatically-generated file. Do not edit!
############################################################ ####################

C_SRCS += \
${addprefix $(ROOT)/, \
key.c \
}

C_UPPER_SRCS += \
${addprefix $(ROOT)/, \
}

# Each subdirectory must supply rules for building sources it contributes
%.o: $(ROOT)/%.c
@echo 'Building file: $<'
@echo ccc -c -w -o$@ $<
@ccc -c -w -o$@ $<
@echo 'Finished building: $<'
@echo ' '





hibou
Re: Create my toolchain [message #147732 is a reply to message #147522] Wed, 29 June 2005 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mail2lithens.yahoo.co.in

hi
This is from Senthil Kumar.

u can add the path, where ur tool resides, in /etc/profile. Then u
compile.

How u hav added a new toolchain. did u use pde. I used pde, but i didnt
get the tag called, <target> <configuration> etc.

Expecting ur reply. Thank u in advance.

Regards
Senthil
Re: Create my toolchain [message #147780 is a reply to message #147732] Wed, 29 June 2005 17:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hibou.bonbon.net

Hi,

In fact, it is not a problem of path. I am creating my own toolchain,
and it appears that the Makefile generator find the correct tools with
the extensions.

And yes I use PDE. So I extend the extension point :
org.eclipse.cdt.managedbuilder.core.buildDefinitions

Then I create a projectType. In it I created a Configuration. In it I
ceated a toolChain. And in the toolchain I added the builder, the
tagetPlateform and my tools.

PS : can you please write complete words. As I am not english, it is
quite hard to read you.

Senthil Kumar . S a écrit :
> hi This is from Senthil Kumar.
> u can add the path, where ur tool resides, in /etc/profile. Then u
> compile.
>
> How u hav added a new toolchain. did u use pde. I used pde, but i didnt
> get the tag called, <target> <configuration> etc.
>
> Expecting ur reply. Thank u in advance.
>
> Regards
> Senthil
>
Re: Create my toolchain [message #148905 is a reply to message #147522] Fri, 15 July 2005 07:56 Go to previous message
Eclipse UserFriend
Originally posted by: jonkersbart.gmail.com

hibou wrote:
> Hello,
>
> I have followed the tutorial to make a custum toolchain (Managed Build
> Extensibility Reference Document (for CDT 2.1))
> Then, I run the runtime workbench, I can create the new project-type.
> But the makefile generator create this makefile while I am importing a
> source file :
>
> ############################################################ ####################
> # Automatically-generated file. Do not edit!
> ############################################################ ####################
>
> ROOT := ..
>
> -include $(ROOT)/makefile.init
>
> RM := rm -f
>
> # 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: test
>
> test: $(OBJS)
> @echo 'Building target: $@'
> null null $@ $(OBJS) $(USER_OBJS) $(LIBS)
> @echo 'Finished building: $@'
>
> clean:
> -$(RM) $(OBJS) $(DEPS) test
>
> .PHONY: all clean dependents
>
> -include $(ROOT)/makefile.targets
>
>
> As you can see, there is "null null". I don't know how to specify to the
> makefile generator the tool which will link...
> For compiling the source, there is no problem, it takes "ccc" :
> ############################################################ ####################
> # Automatically-generated file. Do not edit!
> ############################################################ ####################
>
> C_SRCS += \
> ${addprefix $(ROOT)/, \
> key.c \
> }
>
> C_UPPER_SRCS += \
> ${addprefix $(ROOT)/, \
> }
>
> # Each subdirectory must supply rules for building sources it contributes
> %.o: $(ROOT)/%.c
> @echo 'Building file: $<'
> @echo ccc -c -w -o$@ $<
> @ccc -c -w -o$@ $<
> @echo 'Finished building: $<'
> @echo ' '
>
>

Hey,

I have the same problem. Did you get it solved?

Bart
>
>
>
> hibou
Previous Topic:How to compile?
Next Topic:Own toolchain
Goto Forum:
  


Current Time: Tue Jul 22 06:40:23 EDT 2025

Powered by FUDForum. Page generated in 0.15630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top