Changes between Version 23 and Version 24 of SujetTP1-2016


Ignore:
Timestamp:
Jan 26, 2017, 5:16:07 PM (7 years ago)
Author:
franck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SujetTP1-2016

    v23 v24  
    9191    bcm2708hardfp-gcc -o $@ $< -O2 -static
    9292}}}
     93{{{#!protected
     94CC=bcm2708hardfp-gcc
     95CFLAGS=-O2 -static
     96helloworld : helloworld.c
     97}}}
    9398
    9499L'option "-static" est importante ici, car la librairie C du compilateur croisé n'est pas tout à fait identique à la librairie C sur la carte Raspberry Pi. Ajouter "-static" à la ligne de compilation permet de créer un binaire qui