You're replying to a comment by UX-admin.

UX-admin Permalink
October 26, 2009, 15:44

One either links with libC, or with uClibc (and accompaniying crt*.o) object(s), but not both. If mClibc is a complete libC environment, it should provide crt*.o and any other necessary objects.

What you have there after linking is a "salad", a mess; it's a miracle you're able to run it at all.

Also, if GNU ld supports $ORIGIN (like Solaris and HP-UX' ld(1)), you could link dynamically, by passing -R'$ORIGIN/../lib' to ld directly, or going through the cc(1) front end with -Wl,-R'$ORIGIN/../lib'.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "antispam_156": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.