File:
[DVB] /
dietlibc /
contrib /
Makefile.dyn
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Mon Sep 17 16:42:26 2001 UTC (22 years, 8 months ago) by
olaf
Branches:
MAIN
CVS tags:
finnland_test_200301,
branch_rc14_fieldtest_finnland,
branch_rc13_fieldtest_finnland,
branch_rc12_fieldtest_finnland,
branch_rc10_fieldtest_finnland,
RELEASE_finnland_200301_1,
RC12_FIELDTEST_FINNLAND,
RC10_FIELDTEST_FINNLAND,
HEAD
added example Makefile for dynamic-dietlibc programs...
added prototype
fixed dynamic linking of dietlibc.so
CC = gcc
DCC = diet gcc
PDIET = /opt/diet/lib
CFLAGS = -Wall -O2
LDFLAGS = -nostdlib -rdynamic
LIBS = $(PDIET)/libdietc.so -lgcc
DYN_LINK = -Wl,-rpath,$(PDIET),-dynamic-linker,$(PDIET)/diet-linux.so
OBJS =
dyn_prog: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(PDIET)/start.o $(OBJS) $(LIBS) $(DYN_LINK)
LinuxTV legacy CVS <linuxtv.org/cvs>