[coldfire-gnu-discuss] Error in makefile on Sourcery G++ for coldfire

Tarmo Kuuse tarmo.kuuse at proekspert.ee
Fri Jan 16 18:32:08 UTC 2009


Hi Pablo,

Pablo Martinez-Crespo wrote:
> I'm trying to compile my first "Hello World" project using Eclipse and 
> the Codesourcery tool chain. I have configured and installed everything 
> but I get this error when try to compile:
> 
> ***multiple target patterns. Stop.

The error occurs because you are using windows drive letters (C: and 
D:). For example:

PROJ_DIR = "D:/Tools/HelloFirst"
LDSCRIPT = "C:/Program Files/CodeSourcery/Sourcery 
G++/m68k-elf/lib/m5475/m5485evb-ram.ld"

There were many others scattered around your Makefile.

Make is a unix tool. It treats the colon ':' as a special character. You 
are not allowed to use the colon anywhere else - not in file names nor 
command arguments.

Replace all drive letters with their Cygwin mount points. Usually "C:" 
corresponds to "/cygdrive/c", "D:" is "/cygdrive/d" etc. You can get a 
full list using command "mount -l".

--
Kind regards,
Tarmo Kuuse



More information about the coldfire-gnu-discuss mailing list