Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Design] Cross Compiling "make programs" patch

From: Michael Richardson <mcr(at)sandelman.ottawa.on.ca>
Date: Thu Feb 20 2003 - 20:37:32 EST


-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Ken" == Ken Bantoft <ken@freeswan.ca> writes:

    Ken> Compared to 1.99, 2.00 is remarkably easier to cross compile. Most     Ken> of this is due to centralizing all of the programs under programs/,

  Good to hear.

    Ken> Now, to cross compile, I just export the conventional environment     Ken> variables like so:

    Ken> export CC=/opt/Embedix/tools/bin/arm-linux-gcc export
    Ken> LD=/opt/Embedix/tools/bin/arm-linux-ld export
    Ken> RANLIB=/opt/Embedix/tools/bin/arm-linux-ranlib export
    Ken> AR=/opt/Embedix/tools/bin/arm-linux-ar export
    Ken> AS=/opt/Embedix/tools/bin/arm-linux-as export
    Ken> LD_LIBRARYPATH=/z/zeeswan-2.00/zaurus/libs export
    Ken> KERNEL_SRC=/z/bk-buildroot/build/linux

    Ken> And "make programs" now builds using the correct gcc, ld, etc... and
    Ken> links against binary Zaurus libs I place in     Ken> /z/zeeswan-2.00/zaurus/libs (currently, this is libgmp.so)

    Ken> Thoughts?

  Should defaults go into Makefile.inc?

  I think that it is okay, because "make" has defaults for it all.

  So, I committed your patch.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] 
mcr(at)sandelman.ottawa.on.ca 
http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys
Do you need help?X

iQCVAwUBPlWC24qHRg3pndX9AQFyzgP8Dc22p/OyWLvcDJlPTZHIMGjN5g1KZNSL ZeHB+y7bzA95cmATjP1up2grpHZJ8jXvkT02SJQejpQ3KznLDfEgrbnG8VIF9xNd sKyfqydLYyc+yMyEg+X1a9vBUjooxWkjpwvJnBLbOancQjfSR1zYLUogvhSjtIEr 0FtM4+Q/fUk=
=BzNs
-----END PGP SIGNATURE-----



Design mailing list
Design@lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/design Received on Thu Feb 20 21:12:15 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:32 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library