Цитата(Сергей Борщ @ Oct 30 2013, 12:55)

Вы после того, как его в PATH дописали, эклипсу перезапускали?
В PATH дописал еще несколько дней назад.
......
В обчем, снес проект, перезапустил Эклипс, выбрал новую папку для проектов, сделал новый проект. Теперь пишет другое:
make: *** [src/main.o] Error 1 C/C++ ProblemНо .elf и .hex файлы появились!!!
Да и в лог-файле только о warning написано.
Цитата(Сергей Борщ @ Oct 30 2013, 12:55)

arm-none-eabi-g++ --version из командной строки выполнятется?
Выполняется:
Код
a@ubuntu:~/workspace/test1/src$ arm-none-eabi-g++ main.cpp
/opt/arm/arm-2013.05/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008018
a@ubuntu:~/workspace/test1/src$
Цитата(Сергей Борщ @ Oct 30 2013, 12:55)

$(info $(PATH)) изнутри makefile показывает такой же PATH?
А можно поподробнее, что это и как смотреть?!
Вот макеfile проекта:
Код
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
SECONDARY_FLASH += \
test1.hex \
SECONDARY_LIST += \
test1.lst \
SECONDARY_SIZE += \
test1.siz \
# All Target
all: test1.elf secondary-outputs
# Tool invocations
test1.elf: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: ARM Linux GCC C++ Linker (Sourcery Lite Bare)'
arm-none-eabi-g++ -Xlinker --gc-sections -Wl,-Map,"test1.map" -mcpu=cortex-m3 -mthumb -g3 -o "test1.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
test1.hex: test1.elf
@echo 'Invoking: ARM Linux GNU Create Flash Image (Sourcery Lite Bare)'
arm-none-eabi-objcopy -O ihex "test1.elf" "test1.hex"
@echo 'Finished building: $@'
@echo ' '
test1.lst: test1.elf
@echo 'Invoking: ARM Linux GNU Create Listing (Sourcery Lite Bare)'
arm-none-eabi-objdump -h -S "test1.elf" > "test1.lst"
@echo 'Finished building: $@'
@echo ' '
test1.siz: test1.elf
@echo 'Invoking: ARM Linux GNU Print Size (Sourcery Lite Bare)'
arm-none-eabi-size --format=berkeley "test1.elf"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(OBJS)$(C_DEPS)$(SECONDARY_FLASH)$(CXX_DEPS)$(S_UPPER_DEPS)$(SECONDARY_LIST)$(C++_DEPS)$(SECONDARY_SIZE)$(ASM_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(C_UPPER_DEPS) test1.elf
-@echo ' '
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets
Сообщение отредактировал Micrick - Oct 30 2013, 13:09