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] |
I have these packages instaled:
gcc-info-4.1.0-28.4 gcc-c++-4.1.0-28.4 libgcc-x86-4.1.0-28.4 gcc-fortran-4.1.0-28.4 gcc-4.1.0-28.4 libgcc-4.1.0-28.4
than I untar the gcc-3.3.5.tar.bz2.
I have to compile this old gcc without damage the new gcc installed(becouse it will be used just to compile g77 sources).
This is a maillist for crosscompilers, so let's start with producing a crosscompiler, not a "backported" native one...
1. the GNU binutils sources 2. the GCC sources 3. the target C library binaries and headers
But when your target could be "basically" the same as the host, the existing native binutils might be usable, so the 'gcc-3.3.5.tar.bz2' for the 2. could be enough... This should include also the g77 parts, no separate package for g77 being required.
We can see you having gcc-4.1.0 as your current native GCC, but what is your current native C library? A 'glibc-2.5.something? This really doesn't have any other influence than that the executables made for the $host will be linked against it. The only thing to understand is that GCC uses some C library when linking executables for something. If you want to produce executables for running them somewhere else, then you should use the C library made for this something !
You didn't tell if the "user" has an identical $host with yours :-( So we don't yet know WHERE the compiled "Corsika" application should run! For this we would require some info for the aimed $target, from which to take that missing target C library for the new crosscompiler!
in your $host and see what it tells about the GCC used to compile the native glibc....
In your case I would first look at these lines, maybe the reason is something simple../usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c: At top level: /usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c:11080: error: conflicting types for âffecom_gfrt_basictypeâ /usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.h:236: error: previous declaration of âffecom_gfrt_basictypeâ was here
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |