Searching \ for '[PIC] C30 Free?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'C30 Free?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] C30 Free?'
2004\09\21@195949 by Herbert Graf

picon face
Hello everyone, I remember when the dsPIC first came out there was a
discussion of C30 being GPL and open source.

I see there is source online at Mchip, is this source enough to get all
of C30 working? Has anybody compiled it sucessfully?

Thanks for any info. TTYL

_______________________________________________
http://www.piclist.com
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

2004\09\21@223753 by piclist

flavicon
face
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.

--
John W. Temples, III
_______________________________________________
http://www.piclist.com
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

2004\09\22@013852 by Scott Dattalo

face
flavicon
face
On Tue, 21 Sep 2004 spam_OUTpiclistTakeThisOuTspamxargs.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

2004\09\22@015208 by Wouter van Ooijen

face picon face
> > 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.

The compiler is looking for some missing functions, or the compiled
code?

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


_______________________________________________
http://www.piclist.com
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

2004\09\22@021824 by piclist

flavicon
face
On Wed, 22 Sep 2004, Wouter van Ooijen wrote:

> > 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.
>
> The compiler is looking for some missing functions, or the compiled
> code?

The linker was looking for something when linking code compiled for
the dsPIC.

--
John W. Temples, III
_______________________________________________
http://www.piclist.com
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

2004\09\22@022643 by piclist

flavicon
face
On Tue, 21 Sep 2004, Scott Dattalo wrote:

> $ 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.

I would not interpet the error above as the linker not working; I'd
interpret it as the linker not finding dsPIC code that it needs to
generate the executable.  I'm guessing this is startup code, which is
in a dsPIC library that's not included in the "open source" stuff.

Considering that Microchip is selling C30, I doubt they intended to
give it away free to anyone who could figure out how to compile it.
They are simply complying with their GPL obligations to release the
source code that they used from GCC.  I don't think they're under any
obligation to release source code for libraries that they wrote
themselves from scratch that run on the dsPIC which are not actually a
part of GCC or the rest of the toolchain.

--
John W. Temples, III
_______________________________________________
http://www.piclist.com
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

2004\09\22@041427 by hael Rigby-Jones

picon face


>-----Original Message-----
>From: .....piclist-bouncesKILLspamspam@spam@mit.edu [piclist-bouncesspamKILLspammit.edu]
>On Behalf Of Herbert Graf
>Sent: 22 September 2004 01:00
>To: Microcontroller discussion list - Public.
>Subject: [PIC] C30 Free?
>
>
>Hello everyone, I remember when the dsPIC first came out there
>was a discussion of C30 being GPL and open source.
>
>I see there is source online at Mchip, is this source enough
>to get all of C30 working? Has anybody compiled it sucessfully?
>
>Thanks for any info. TTYL


The source of the compiler is open, but I was told by an FAE that the
optimiser is proprietary to Microchip. If that is the case I suspect the
code generation of just the open sourced compiler will not be great in terms
of speed or size (although I've not tried it).

Source available at
http://ww1.microchip.com/downloads/en/DeviceDoc/mplabc30_v1_20_02.tar.gz

Regards

Mike

=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================
_______________________________________________
http://www.piclist.com
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...