Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/08/2014, 17:56
Bael_Balzac
 
Fecha de Ingreso: julio-2011
Mensajes: 62
Antigüedad: 12 años, 9 meses
Puntos: 0
Respuesta: Enlazar bibliotecas .so en arm-linux-gnueabi-gcc

Con un makefile:
Código:
CC = arm-linux-gnueabi-gcc
CFLAGS = -g -Wall -O2 `pkg-config --cflags gtk+-2.0 gthread-2.0`
LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
LDFLAGS = -Wl,-rpath,/lib

all: hellogtk
hellogtk: hellogtk.o
hellogtk.o: hellogtk.c
Ahora muestra referencias sin definir, intentaré compilar gtk.