Hi, > But now I have a multifile PIC project and I cannot see the.map nor > .mem files anywhere. And I can't find a relevant command line option > to turn them on either.
For the PIC ports (pic14 and pic16), the linker (gplink) is responsible for creating the .map files. You can call for them by passing -m to gplink or (if you let sdcc call the linker) by passing it through: sdcc -Wl,-m [more options] > The relevant parts of my Makefile are: > > TARGET = main.hex > SRCS = stepper.c main.c > LIBS = libc18f.lib libio18f4550.lib libm18f.lib libsdcc.lib > SDCC = /usr/local/bin/sdcc > SDCCFLAGS = -mpic16 -p18f4550 --disable-warning 85 --std-sdcc99 > OBJDIR = ../obj Just add -Wl,-m somewhere to your SDCCFLAGS. Hope that helped, Raphael ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user