Bug 90871 - Using MBS Managed Build system generates a echo without a quote
Summary: Using MBS Managed Build system generates a echo without a quote
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
: 90876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-08 18:11 EDT by Stefan Andersen CLA
Modified: 2020-09-04 15:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Andersen CLA 2005-04-08 18:11:21 EDT
Using MBS Managed Build system and adding my own toolchain for Intent elate
environment using the tutorial at
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/user/Reference%20Documents/Managed_Build_21/Managed_Build_Extensibility.html?cvsroot=Tools_Project
Everything is fine so far but the resulting makefile gives me some problems
especially an echo line in the subdir.mk files
The problem is that all echo's is nicely quotet, all but one and this one make
my build fail, the environment is using a zsh like script engine and it seems
like the default echo command realy needs the quotes.

Here is an example of an generate makefile
--------------
# Each subdirectory must supply rules for building sources it contributes
%.o: $(ROOT)/%.c
	@echo 'Building file: $<'
	@echo vpcc  -o$@ $<
	@vpcc  -o$@ $<
	@echo 'Finished building: $<'
	@echo ' '
--------------
The echo line before the c compiler line "@echo vpcc  -o$@ $<" can't be used in
 my system, if possible it would be nice with a qoute on this line also like
@echo 'vpcc  -o$@ $<'
It would mean a lot to me :)
If I add the quotes to the line by hand I can build. 
(Well I have to do a few other tricks to startup the Elate Virtual environment
and to "cd" to the right dir and to do a "make" inside the virtual environment
but this is outside the scope of the bugreport)
Comment 1 Stefan Andersen CLA 2005-04-08 18:48:25 EDT
*** Bug 90876 has been marked as a duplicate of this bug. ***