From: SourceForge.net <no...@so...> - 2009-03-02 14:18:46
|
Bugs item #2654585, was opened at 2009-03-02 09:18 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2654585&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build system Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Don Wooton (dwooton) Assigned to: Nobody/Anonymous (nobody) Summary: build pic specific libs as specific Initial Comment: warning: processor mismatch in "pic16f688.o" Although it is probably not a problem to compile all of the PIC specific libraries as a single PIC type, creating them correctly takes no longer and is a big step closer to not needing the --processor-mismatch option. During the build of sdcc, both the pic14 and pic16 ports pass correct followed by incorrect -p$(ARCH) options to sdcc when making the PIC specific libraries. You can see this by inspecting the log from a command similar to this: make Q= SILENT=Y -C sdcc 2>&1 | tee build.log By moving the default options such as CFLAGS += -mpic14 -p16f$(ARCH) out of the common Makefiles and into the individual Makefiles we gain better control and aviod conflicting values. The attached patch is one way to do this. It applies to svn r5404. It is long due to the repeats; but is rather simple. For clarity I attempted to keep the -m and -p options together. - Don ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2654585&group_id=599 |