far variable

Eric Smith (eric@brouhaha.com)
10 Oct 1998 1900:15:46 -0000


Dony <dony@willowglen.com.sg> wrote:
> Does anybody know how to define a variable with 'far' address in GCC?
> For example, in Borland will be define like this :
> 
> unsigned char const far BE_code
> 
> Thank's for the response guys ...

What's your target?  How do you distinguish between near and far?  AFAIK,
GCC doesn't work for any processors that *need* near and far.

When I have to deal with porting x86 BS to a _real_ processor, I usually use

#define far

Cheers,
Eric

________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.