Hi, --L is wrong, it should be -L And with --nostdlib not only the default path is ignored but also the default library names. So you must specify them on the command line.
Maarten > Hi > > according to the manual there is an '--L' option to specify > the library paths but when I use it I get: > > at 1: warning 117: unknown compiler option '--L' ignored > > if I use -L the compiler finds the /usr/local/share/sdcc/lib/pic16/ > libraries not the ones I specify with the -L option. > > If I, in addition to -L, specify --nostdlib then no libraries > are found even though -L option points to directory > /Users/nyholku/sdcc-3.2.0/share/sdcc/lib/pic16 > where I've checked those files are. > > br Kusti ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user