use of FAR pointers with gcc

From: tanuki (phake_at_sadomain.co.za)
Date: 05/31/04


Date: Mon, 31 May 2004 15:59:00 +0200

Hi guys,

sorry to ask this stupid question but how can i use far pointers in gcc ?

see, in tc i have something like :

int far *ptr= 0xb8000000;

gcc doesnt seem to have a far keyword

thanks



Relevant Pages

  • Re: data types
    ... Usually short is smaller than an int. ... Your compiler is either *really* old or broken or both. ... recommend either a version of gcc,, or Visual Studio ... Microsoft's Visual Studio Express has an onerous EULA). ...
    (comp.lang.c)
  • Re: A simple memset(..) question
    ... Forgot gcc and OS: ... DISTRIB_DESCRIPTION="Ubuntu (The Breezy Badger Release)" ... > that contains pointers to user's data. ... > int i; ...
    (comp.os.linux.development.apps)
  • Re: stream io in c
    ... zero to 255, putchar'ing in the body of the loop, then redirecting output ... int main ... // gcc -o chars mkchars1.c ... This compiles but gcc warns of incompatible pointer types. ...
    (comp.lang.c)
  • Re: gcc bug? Openoffice port impossibel to compile on 4.8
    ... remove this silly "bitten by the Linux bug" and the red-herring of gcc ... struct bar {int a; int b;} dapper; ... The *warning* emitted by gcc when enough analysis is done (e.g. ...
    (freebsd-hackers)
  • Re: [PATCH 3/7] PCI PM: Fix saving of device state in pci_legacy_suspend
    ... so the icache is going to scream but gcc folks know ... I'll see Michael what exactly the situation is here and if we ... int smp_request_message_ipi ...
    (Linux-Kernel)