[coldfire-gnu-discuss] Error in makefile on Sourcery G++ for coldfire
Daniel Jacobowitz
dan at codesourcery.com
Fri Jan 16 19:30:33 UTC 2009
On Fri, Jan 16, 2009 at 08:32:08PM +0200, Tarmo Kuuse wrote:
> 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:
Are you using a managed make project, or trying to write the Makefile
by hand? Managed make is much easier.
> 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".
The version of Make we ship with Sourcery G++ understands drive
letters, not Cygwin paths.
--
Daniel Jacobowitz
CodeSourcery
More information about the coldfire-gnu-discuss
mailing list