DragonFly BSD
DragonFly kernel List (threaded) for 2006-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: amd64 patches for review again


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 23 Jul 2006 01:44:08 +0200

Matthew Dillon wrote:
:hey,
:
:now that we branched 1.6 i want to commit these patches.  please review a=
:nd if nobody objects, i will commit them on saturday.
:
:find them at: <http://chlamydia.fs.ei.tum.de/~corecode/unsorted/amd64.dif=
:f>
:
:cheers
:  simon

    The only bit I don't understand is this one in
    gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h:

+#define LIBGCC_SPEC "%{shared: -lgcc_pic} %{!shared: -lgcc}"

ah, very cool, somebody read it completely :)


this makes gcc link libgcc_pic for shared libs and libgcc for static libs. this is needed for amd64, because shared pic code can't get certain fixups for non-pic libgcc. the libs still stay static.

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]