AMC dimPCI 68VZ328 Manual do Utilizador Página 60

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 115
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 59
60
www.amctechcorp.com
Normal Usage of the PIC-COFF Tool Chain
The PIC-COFF tool chain is normally very easy to use. The ‘Hello world’ program supplied in
the samples directory is compiled as follows:
m68k-pic-coff-gcc hello.c -o hello
To compile the same program with the 32 bit extensions:
m68k-pic-coff-gcc -fPIC hello.c -o hello
Normal Usage of the ELF Tool Chain
The ELF tool chain included with the SDK does not default to generate code for the Motorola
M68VZ328, so additional command line arguments are needed.
m68k-elf-gcc -m68000 -elf2flt hello.c -o hello -lc
The libraries used must be specified. They must be specified after the source files have been
listed.
Vista de página 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 114 115

Comentários a estes Manuais

Sem comentários