You may have to use two back slashes ..\\..\\dir1\timerInt.rel
On Jan 21, 2012, at 1:37 AM, Tamas wrote: > Hi, > > I am trying to build my SDCC project from a makefile using gnuwin32 make. > I am getting the following error when linking: ?ASlink-Error-<cannot > open> : "..\..\dir1\file1.rel" > It seems to me that SDCC linker fails to find .rel files when given > with relative path. > Do I need to provide the full path here or am I missing something? > > This is the content of the generated .lk file: > -muwx > -i test_SDCC.hex > -M > -Y > -y > -b HOME = 0x0000 > -b ISEG = 0x0000 > -b BSEG = 0x0000 > -k c:\SDCC\bin\..\lib\small > -l mcs51 > -l libsdcc > -l libint > -l liblong > -l libfloat > mainTest.rel > callbacks.rel > ..\..\dir1\timerInt.rel > ..\..\dir1\externalInt.rel > ..\..\dir1\stateMachine.rel > > -e > > > Can someone give me a nicely working SDCC makefile example that builds > files from multiple directories? > > Cheers, > Tamas > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user