Re: gcc question

2005-02-25 Thread Giorgos Keramidas
On 2005-02-25 11:34, Kathy Quinlan <[EMAIL PROTECTED]> wrote: >Daniel O'Connor wrote: >>On Thu, 24 Feb 2005 17:57, Kathy Quinlan wrote: >>> ATM it is written in codevisionAVR which is where the function is >>> called, so I guess for now I will just break the AVR support;) >> >> Ahh.. >> So.. are yo

Re: gcc question

2005-02-24 Thread Kathy Quinlan
Daniel O'Connor wrote: On Thu, 24 Feb 2005 17:57, Kathy Quinlan wrote: ATM it is written in codevisionAVR which is where the function is called, so I guess for now I will just break the AVR support;) Ahh.. So.. are you talking about getting the coding running _in FreeBSD_ or compiled on FreeBSD a

Re: gcc question

2005-02-24 Thread Daniel O'Connor
On Thu, 24 Feb 2005 17:57, Kathy Quinlan wrote: > ATM it is written in codevisionAVR which is where the function is > called, so I guess for now I will just break the AVR support;) Ahh.. So.. are you talking about getting the coding running _in FreeBSD_ or compiled on FreeBSD and running on an AV

Re: gcc question

2005-02-23 Thread Kathy Quinlan
Daniel O'Connor wrote: On Thu, 24 Feb 2005 15:00, Kathy Quinlan wrote: I have some code that I build for two targets, one an Atmel uC and the other FreeBSD. What is the best way to redefine getchar and putchar (in uC they use the serial port, in FreeBSD stdin stdout) Or would I be better #ifdef the

Re: gcc question

2005-02-23 Thread Daniel O'Connor
On Thu, 24 Feb 2005 15:00, Kathy Quinlan wrote: > I have some code that I build for two targets, one an Atmel uC and the > other FreeBSD. > > What is the best way to redefine getchar and putchar (in uC they use the > serial port, in FreeBSD stdin stdout) > > Or would I be better #ifdef the commands

gcc question

2005-02-23 Thread Kathy Quinlan
Hi all, I have some code that I build for two targets, one an Atmel uC and the other FreeBSD. What is the best way to redefine getchar and putchar (in uC they use the serial port, in FreeBSD stdin stdout) Or would I be better #ifdef the commands and making getchar only used in uC and my serial