This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: autoconf.h and a cygwin toolchain


Dave Korn wrote:

>   Funnily enough I've just been doing all this stuff this morning, and
> 2.6.12 seems to build fine for an ARM architecture without worrying about
> the .S-vs-.s files problem any more.

 ... and also they've fixed the config stuff so it doesn't use shared libs
anymore, so I didn't need to patch that either.  It's uncannily as if
someone's been trying to make x-compilation from cygwin a bit easier!

  One thing that I did find, the config stuff still assumes it's being built
on a linux system (where gettext functionality is built into glibc); on
cygwin, it fails with lots of link errors against _libintl_* functions.  To
fix this, add the following line at the top of
.../linux/scripts/kernel/kconfig:

HOST_LOADLIBES := -lintl

[  Here for the record, and to hopefully spare others the hours of pain that I
have been through because I trusted what it said in
../linux/Documentation/kbuild/, where it mis-spells the variable as
HOSTLOADLIBES ... Grr!  What's the point in RTFMing if the FM is no good!?  ]

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]