This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 2 68k cpu questions


On 23 May 2006 22:15, Franzi Edo. wrote:

> Any suggestion on how to define (or use) this symbol?

  #include <errno.h> is the usual way to define it.  "-lc" is the usual way to
use it.

> My second question is about the access to the static data. I would
> like to point the data with an index register
> (typically A5). So, the crt0 should be able to initialise A5 with
> the .data pointer and I would like that gcc generates the
> data access like this move.l  .....,(offsetxyz,A5).
> 
> Any suggestion on how to implement this?

  By using "gcc -fpic/-fPIC"?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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