This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: far variable


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.