Questions? We're here to help! Call today:

1-303-893-0552

LoadupDates.com is for sale

Buy Now: $695
  • Take Immediate ownership
  • Transfer the domain to the Registrar of your choosing
OR
Finance This Domain: $695 12 monthly payments of $58
  • 12 monthly payments, only $57.92 per month
  • Start using the domain today See details

Talk to a domain expert: 1-303-893-0552

Hurry - once it's sold this opportunity will be gone!

Besides being memorable, .com domains are unique: This is the one and only .com name of its kind. Other extensions usually just drive traffic to their .com counterparts. To learn more about premium .com domain valuations, watch the video below:

Turbocharge your Web site. Watch our video to learn how.

Improves Your Web Presence

Get noticed online with a great domain name

73% of all domains registered on the Web are .coms. The reason is simple: .com is the where most of Web traffic happens. Owning a premium .com gives you great benefits including better SEO, name recognition, and providing your site with a sense of authority.

Here's What Others Are Saying

Since 2005, we've helped thousands of people get the perfect domain name
  • Hi Thanks heaps for the domain name! - Brad Norrish, 9/24/2018
  • All was perfect - Dmitriy Rozanov, 9/24/2018
  • Great understanding from the seller. Providing the BEST deal. - Akhmadov Movsar, 9/20/2018
  • More testimonials

LoadupDates.com

Own this domain today

Our Price: $695 (USD)

Questions?
Speak with a domain specialist!
Call us: 1-303-893-0552 M-F 9am - 5pm MST

© 2018 HugeDomains.com. All rights reserved.

how_to_build_gcc_4_5_2_for_linux [Cross GCC on Mac OS X]

User Tools

Site Tools


how_to_build_gcc_4_5_2_for_linux

Source Packages and Build Instruction for GCC 4.5.2 for Linux

Go to the binary package download page.

The main difficulty of building a cross-compiler for Linux is the cross-compilation of GLIBC. I did not succeed, I don't known if it is even possible. So I cheated. First, I have compiled GLIBC natively on Linux, and used the resulting package for cross compiling BINUTILS and then GCC.

The cross compilation is then a two stage road:

  1. compile natively GLIBC on Linux ; this provides a 32-bit archive on a 32-bit Linux, and a 64-bit archive on a 64-bit Linux;
  2. copy theses archives on the Mac, and cross compile BINUTILS and then GCC.

The archives

The ''headers-glibc-for-linux.tar.bz2'' archive (4 KB) compiles GLIBC natively on Linux.

The ''headers-glibc-linux32.tar.gz'' archive (19.6 MB) is the compiled GLIBC, ran on a 32-Bit Linux. You can use it if yopu do not have a Linux Computer.

The ''headers-glibc-linux64.tar.gz'' archive (21.3 MB) is the compiled GLIBC, ran on a 64-Bit Linux. You can use it if yopu do not have a Linux Computer.

The ''gcc-4.5.2-for-linux32-linux64'' archive (66 KB) contains the script to be ran to cross compile BINUTILS and GCC on Mac OS X.

First stage : Compiling GLIBC

Using the headers-glibc-for-linux.tar.bz2 archive, you can compile GLIBC natively on Linux. It automatically download the needed archives, builds Linux headers, and then compiles GLIBC. It provides a headers-glibc-linux32.tar.gz file on a 32-bit Linux, and a headers-glibc-linux64.tar.gz on a 64-bit Linux. The script runs in user account, so you need not to enter the administrator password.

Second stage : Cross Compiling BINUTILS and GCC

The gcc-4.5.2-for-linux32-linux64.tar.bz2 contains the build script.

If you have performed the first stage, copy the build archive into the headers-glibc-for-linux directory. Otherwise, uses those provided in this archive.

Actually, you need only the headers-glibc-linux32.tar.gz' archive if you plan to get an i386 cross compiler, and the headers-glibc-linux64.tar.gz' archive if you plan to get an x86_64 cross compiler.

Four build commands are provided:

  • -build-sandbox-linux32.command that builds the distribution (SANDBOX-linux32) for a 32-bit Linux in the current directory; sudo is not invoked, no administrator password is required;
  • -build-sandbox-linux64.command that builds the distribution (SANDBOX-linux64) for a 64-bit Linux in the current directory; sudo is not invoked, no administrator password is required;
  • -build-usr-local-linux32.command that builds the distribution for a 32-bit Linux in /usr/local/gcc-4.5.2-for-linux32; sudo is invoked, so administrator password is required;
  • -build-usr-local-linux64.command that builds the distribution for a 64-bit Linux in /usr/local/gcc-4.5.2-for-linux64; sudo is invoked, so administrator password is required.

Needed archives are download when they are required, and stored in the local archive directory.

You can run the 4 build commands in parallel, once the archives have been downloaded.

By default, the script makes gcc to compile and link against 10.5 SDK. You can change CC variable definition for using an other SDK (see CC variable definition, in the makefile.mak file).

how_to_build_gcc_4_5_2_for_linux.txt · Last modified: 2011/04/03 19:29 (external edit)