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

Tarmo Kuuse tarmo.kuuse at proekspert.ee
Mon Jan 19 08:25:18 UTC 2009


Hi!

I saw the exact same problem as OP when building eCos. The "make" 
included with cygwin chokes on windows paths (those seem to come from 
Sourcery G++ when it is interrogated for system includes). We use a 
(rather ugly) workaround to get unix-only paths.

Daniel Jacobowitz wrote:
> On Fri, Jan 16, 2009 at 08:32:08PM +0200, Tarmo Kuuse wrote:
>> Pablo Martinez-Crespo wrote:
[snip]
>> The error occurs because you are using windows drive letters (C: and D:). 
> The version of Make we ship with Sourcery G++ understands drive
> letters, not Cygwin paths.

That's news for me.

Pablo, you might want to ignore my previous advice. Try using "cs-make" 
instead of "make" for building your project.

[offtopic]

Does cs-make also understand Cygwin paths? When I try, an
   "include /ecos-c/.../rules.mak"
statement found in a makefile results in error
   "No such file or directory".

--
Kind regards,
Tarmo Kuuse



More information about the coldfire-gnu-discuss mailing list