Displaying 1 result from an estimated 1 matches for "ae6d2411".
2013 Sep 21
1
[LLVMdev] LLD input graph handling proposal
Hi Joerg,
I would love to have this behavior(solaris/hp-ux linkers used to do this).
cat > main.c << \!
int main() {
fn();
fn1();
}
!
cat > fn.c << \!
int fn() {
return 0;
}
!
cat > fn1.c << \!
int fn1() {
return 0;
}
!
gcc -c -fPIC main.c fn.c fn1.c
ld -shared fn1.o -o libfn1.so
ld -shared fn.o -o libfn.so -L. -lfn1
ld main.o libfn.so
ld: warning: