Re: [Gambas-user] Declaring external C libraries

2012-08-07 Thread Christer Johansson
> -Original Message- > From: Tobias Boege [mailto:tobiasboeg...@googlemail.com] > Sent: Monday, August 06, 2012 4:36 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Declaring external C libraries > > > On Mon, 06 Aug 2012,

Re: [Gambas-user] Declaring external C libraries

2012-08-06 Thread Tobias Boege
On Mon, 06 Aug 2012, Christer Johansson wrote: > > > > -Original Message- > > From: Tobias Boege [mailto:tobiasboeg...@googlemail.com] > > Sent: Sunday, August 05, 2012 6:26 PM > > To: mailing list for gambas users > > Subject: Re: [Gambas-

Re: [Gambas-user] Declaring external C libraries

2012-08-05 Thread Christer Johansson
> -Original Message- > From: Tobias Boege [mailto:tobiasboeg...@googlemail.com] > Sent: Sunday, August 05, 2012 6:26 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Declaring external C libraries > > > On Sun, 05 Aug 2012, Christer Johansson

Re: [Gambas-user] Declaring external C libraries

2012-08-05 Thread Tobias Boege
On Sun, 05 Aug 2012, Christer Johansson wrote: > > > Hi will it be setup to install & run on Raspbian or only Squeeze ? > > It will be compiled on Debian Squeeze so I doub't it will install on > Raspbian? I've decided to stick to Squeeze for time being since Raspbian > is WIP. > > BTW, the test

Re: [Gambas-user] Declaring external C libraries

2012-08-05 Thread Christer Johansson
> Hi will it be setup to install & run on Raspbian or only Squeeze ? It will be compiled on Debian Squeeze so I doub't it will install on Raspbian? I've decided to stick to Squeeze for time being since Raspbian is WIP. BTW, the test compilation of Gambas3 3.2.1 on the RasPi worked fine but I'm s

Re: [Gambas-user] Declaring external C libraries

2012-08-05 Thread Mike Crean
Hi will it be setup to install & run on Raspbian or only Squeeze ? Mike From: Christer Johansson To: 'mailing list for gambas users' Sent: Sunday, 5 August 2012 6:07 PM Subject: Re: [Gambas-user] Declaring external C libraries > Doe

Re: [Gambas-user] Declaring external C libraries

2012-08-05 Thread Christer Johansson
> Does somebody have a compiled version of Gambas for the > Raspberry Pi? (I don't have time to compile my own...) Jyst a FYI... Since it's raining here today I decided to set things up so I can compile Gambas3 3.2.1 on my Raspberry Pi. So if everything works out OK and I figure out how to mak

Re: [Gambas-user] Declaring external C libraries

2012-08-05 Thread Christer Johansson
> Does somebody have a compiled version of Gambas for the Raspberry Pi? (I > don't have time to compile my own...) I use this one at the moment, just like you I have not had enough time to compile latest final build on RasPi yet. http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb

Re: [Gambas-user] Declaring external C libraries

2012-08-04 Thread Emil Lenngren
Does somebody have a compiled version of Gambas for the Raspberry Pi? (I don't have time to compile my own...) /Emil 2012/8/4 Christer Johansson > > > Pardon me for butting in, but I wonder if you have tried a Gambas > > short (16 bits). > > > > The last time I can recall seeing a byte or chara

Re: [Gambas-user] Declaring external C libraries

2012-08-04 Thread Christer Johansson
> Pardon me for butting in, but I wonder if you have tried a Gambas > short (16 bits). > > The last time I can recall seeing a byte or character passed as an > 8bit value I was using a Z80! I have a vague recollection that the > Lattice C compiler for the MC68008 used the bottom word (16 bits) in

Re: [Gambas-user] Declaring external C libraries

2012-08-03 Thread RICHARD WALKER
Pardon me for butting in, but I wonder if you have tried a Gambas short (16 bits). The last time I can recall seeing a byte or character passed as an 8bit value I was using a Z80! I have a vague recollection that the Lattice C compiler for the MC68008 used the bottom word (16 bits) in a register f

Re: [Gambas-user] Declaring external C libraries

2012-08-03 Thread Christer Johansson
> uint8_t is a type as specified by the _t in the naming. u = unsigned > and int = integer 8 = eight bits. So this declares an unsigned integer > of 8 bits. Thanks for the clarification Randall but question remains, how should I declare a uint8_t in Gambas3 when using the EXTERN command? The onl

Re: [Gambas-user] Declaring external C libraries

2012-08-02 Thread wally
On Thursday 02 August 2012 15:11:03 Christer Johansson wrote: > > Of course i've seen your recent posting, but i do not understand the > > line, but i'm do not know apt-get in details. > > > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > > > we are talking about gambas3.

Re: [Gambas-user] Declaring external C libraries

2012-08-02 Thread Christer Johansson
> Of course i've seen your recent posting, but i do not understand the > line, but i'm do not know apt-get in details. > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > we are talking about gambas3. tomtors install example was for Gambas2. Just replace the name of th

Re: [Gambas-user] Declaring external C libraries

2012-08-02 Thread wally
On Thursday 02 August 2012 14:48:14 Christer Johansson wrote: > Hi Wally, > > > your posting is very interesting, thank you > > > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > > > 1st step was to make a Virtual machine of debian. > > 2nd is to get Gmabs3 working on it

Re: [Gambas-user] Declaring external C libraries

2012-08-02 Thread Christer Johansson
Hi Wally, > your posting is very interesting, thank you > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > 1st step was to make a Virtual machine of debian. > 2nd is to get Gmabs3 working on it ... > but this failed. > > Your information sounds as you successfully run

Re: [Gambas-user] Declaring external C libraries

2012-08-01 Thread Randall Morgan
On Wed, Aug 1, 2012 at 4:12 AM, wally wrote: > On Wednesday 01 August 2012 12:28:12 Christer Johansson wrote: >> With some luck and Google I managed to compile a shared version of the >> C library to RaspberryPi I/O by Mike McCauley and it seems to work >> (at least partly) within Gambas3 using th

Re: [Gambas-user] Declaring external C libraries

2012-08-01 Thread wally
On Wednesday 01 August 2012 12:28:12 Christer Johansson wrote: > With some luck and Google I managed to compile a shared version of the > C library to RaspberryPi I/O by Mike McCauley and it seems to work > (at least partly) within Gambas3 using the EXTERN function. > > I started with the simplest

[Gambas-user] Declaring external C libraries

2012-08-01 Thread Christer Johansson
With some luck and Google I managed to compile a shared version of the C library to RaspberryPi I/O by Mike McCauley and it seems to work (at least partly) within Gambas3 using the EXTERN function. I started with the simplest function there was in the library and that was pretty strait forward an