Jamie> Because libgcc1.a is not installed with GCC.
Jamie> libgcc.a is, but that includes libc-level calls.
NetBSD puts all of this into /sys/lib/libkern, but it isn't of libgcc1.a
origin.
Maybe the GCC/EGCS folk could be convinced to either install libgcc1.a
somewhere useful, split the libc-level stuff out of libgcc.a, or something?
Jamie> A solution, though there doesn't seem to be a great need for one, is
Jamie> this in linux/lib:
Jamie> libgcc=`gcc -print-file-name=libgcc.a`
Jamie> files=`ar t "$libgcc" | egrep '^_.*[qhsdt]i[234]?\.o$'`
Jamie> ar x "$libgcc" $files
Jamie> ar rcs libgcc.a $files
Jamie> Link with the resulting local libgcc.a
] Train travel features AC outlets with no take-off restrictions| firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/