[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: directories (was: va_start())



On 14-Mar-98 Katherine L Ellis wrote:

> However for cpu type, the idea of howard chu is not bad. with
> directory so:
> /usr/include/68000/libblah.a
> /usr/include/68020/libblah.a etc etc
> chosen at linker with -m68020 flag.
>

Hmm, sounds like someone is inventing the wheel again. Or I missed the
point completely :-) My gcc libs are organized in this way, omitting all libs
but c.olb:

   lib/
     bcrt0.o
     crt0.o
     gcrt0.o
     bgcrt0.o
     m68000/
       c.olb            32 bit integers, 68000 CPU
       mbaserel/
         c.olb          32 bit baserel 68000
         mshort/
           c.olb        16 bit baserel 68000
       mshort/
         c.olb          16 bit 68000
     m68020/
       c.olb            32 bit 68020
       m68881/
         c.olb          32 bit 68020 with 68881 inline code
       mshort/
         c.olb          16 bit 68020
         m68881/
           c.olb        16 bit 68020 with 68881 inline code

The programmer must compile / link a program with the -m68000 or -m68020
flag.

CU Tommy