On Tue, 21 Sep 2004 piclist@xargs.com wrote: > On Tue, 21 Sep 2004, Herbert Graf wrote: > >> I see there is source online at Mchip, is this source enough to get all >> of C30 working? Has anybody compiled it sucessfully? > > I was able to compile it, but I couldn't compile anything with it. It > appeared that it was looking for some library functions that weren't > included in the source package. I didn't pursue it, but I'm guessing > the proprietary library hook makes the "open source" aspect mostly > irrelevant. I thought that it was looking for mysterious library functions too. It was complaining about not being able to find pic30-cc1. But this is an executable and not a library. So I just put the path to that file into my PATH variable and it worked. Here's a sample: http://www.dattalo.com/shuffle.tar.gz I compiled it with: $ pic30-gcc -c shuffle.c The '-c' means compile and assemble, but do not link. I didn't try to get the linker to work. Here's what you get when you run the linker (on the .o file that's in the tar ball). $ pic30-ld -o t shuffle.o built in linker script:694: undefined symbol `__reset' referenced in expression Perhaps there are some mysterious libraries associated with the linker? The last I played with the pic30-gcc tool suite was back in May. Scott _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist