Fedora :: Building GCC 4.4.3 Cross Compiler On F12

Mar 28, 2010

I am trying to build a gcc 4.4.3 cross-compiler. I downloaded the gcc 4.4.3 release, uncompressed it, made a new directory called gccbuild and cd'd there. I have already installed gmp, mpfr, and mpc in /usr/local. These are the commands I used:

Code:
configure --target=arm-linux --enable-languages=c --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
make
However, the build fails with
Code:
checking for arm-linux-gcc... /home/steven/gccbuild/./gcc/xgcc -B/home/steven/gccbuild/./gcc/ -B/usr/local/arm-linux/bin/ -B/usr/local/arm-linux/lib/ -isystem /usr/local/arm-linux/include -isystem /usr/local/arm-linux/sys-include
checking for suffix of object files... configure: error: in `/home/steven/gccbuild/arm-linux/libgcc':
configure: error: cannot compute suffix of object files: cannot compile .....

View 2 Replies


ADVERTISEMENT

Programming :: Building Cross Compiler Tool Chain On F14 For Other Distributions?

Apr 24, 2011

My Linux: Fedora 14 x64
My gcc: 4.5.1
My Glibc: 2.12.90

target Linux: "Ubuntu 8.04.4 LTS" hardy
target kernel: 2.6.24-29-server x64
target gcc: 4.2.4 target Glibc: 2.7

I need gcc/g++ and fortran. I Googled and most documents I found are somehow outdated and targeting for ARM, not for other Linux.

View 8 Replies View Related

Programming :: Building PPC476 Enabled GCC Cross Compiler / Tool Chain

Aug 2, 2010

I am trying to build a cross GCC compiler for PPC476. I applied all the relevant patches. Cross compiler build was successful. When I try to compile the source code using the cross compiler I am getting the below error message. I think this is something related to linker.

Code:
cow_shim_funcs_startup_shutdown.o cow_shim_utils.o ../../dm/cfg/cfgi.a ../../dm/pl2/libsas21xxpl.a ../../raid/pfk/libpfk.a
/home/Raghu/gcc/cross-compiler/ppc/tools/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../../powerpc-unknown-linux-gnu/lib/libgcc_s.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [app.out] Error 1

View 3 Replies View Related

Software :: Installing GCC Cross Compiler In Fedora

Apr 8, 2010

While installing the gcc cross compiler in fedora using the following commands
# cd /etc/yum.repos.d/
# wget [URL]
# yum install armv5tel-redhat-linux-gnueabi-gcc

I got a error:
# cd yum.repos.d
[root@sparc yum.repos.d]# wget [URL]
Resolving fedora-arm.wantstofly.org... failed: Temporary failure in name resolution.
[root@sparc yum.repos.d]#

View 1 Replies View Related

Fedora :: Set A Different C And C++ Compiler When Building RPM's?

Jan 14, 2010

I am in the process of building some packages with the Intel compiler (icc) and was wondering how to make it the default compiler when using rpmbuild.

View 3 Replies View Related

Fedora :: Make A Nachos Directory And Download The Nachos Source Code And Cross Compiler?

Apr 28, 2011

I am trying to install NachOS on fedora, i make a nachos directory and download the nachos source code and cross compiler, then i extract the zip files and patch the make files and everything is okay till now. but when it comes to compiling nachos, i followed these steps.

* ~/nachos> cd NachOS-4.0
* ~/nachos/NachOS-4.0> cd code/build.linux
* ~/nachos/NachOS-4.0/code/build.linux> make depend

[code]....

View 10 Replies View Related

Programming :: Linker Error Using Cross Compiler

Aug 11, 2010

I am using a arm compiler to build my program but getting following compiler error at the end -
init.c.text+0x2c): undefined reference to '__libc_csu_fini'
init.c.text+0x34): undefined reference to '__libc_csu_init'

View 1 Replies View Related

Software :: Cross Compiler For Power PC On Ubuntu

Sep 21, 2010

I am preparing build chain for cross compiling Power PC platform on Ububtu. I was successfully compiled glibc-2.11 and binutils-2.20. But while compiling gcc_4.5.1 I stopped at following compilation error:

compilation terminated.
make[4]: *** [decContext.o] Error 1
make[4]: *** Waiting for unfinished jobs....
../../../../gcc-4.5.1/libgcc/../libdecnumber/decExcept.c:25:18: fatal error: fenv.h: No such file or directory
compilation terminated.
../../../../gcc-4.5.1/libgcc/../libdecnumber/decNumber.c:175:53: fatal error: stdlib.h: No such file or directory
compilation terminated .....

View 1 Replies View Related

Programming :: How To Force Scons To Use Cross Compiler

Feb 3, 2010

I have a large existing codebase that all compiles under Ubuntu 8.04 with g++ using Scons. I've been given the task of getting it to compile for Arm9 running uclinux. I have a arm-elf-g++ compiler that I need to use instead of the gcc version. I ended up borking my /usr/lib/scons/SCons/Tool/g++.py file to use arm-elf-g++ instead of g++, but I know that this is not correct, as I have to go edit that file every time I change compilers.

These are the 2 lines I switch out:
Code:
compilers = ['arm-elf-g++']
#compilers = ['g++']

I simply can not find anywhere in the scons documentation that indicates how to tell it to use a different compiler. It seems that it would go under "Environment" but beyond that I'm lost. The CPPPATH variable seems like it only tells scons where to find #include files. I suppose I could rename arm-elf-g++ to g++ and just set my path to find that one first, but that seems like a bit of a hack as well. It would also break other things on my machine.

View 3 Replies View Related

Ubuntu :: Ipod Touch/Iphone Cross Compiler?

Jan 2, 2010

I am just learning to write programs in C++, and i got an iPod Touch for christmas. I have jailbroken my iPod so i can run my own programs on it. If i ever get them compiled. After a few hours of searching i have been unable to come up with a working toolchain for ubuntu which compiles for ipod/iphone. Does anyone know where i can get one/find a howto which will help me to get a toolchain working?

View 4 Replies View Related

General :: Arm-linux-gcc Cross Compiler For Sparc/solaris?

Nov 27, 2010

first of all, i will be glad if i can get prebuild toolchain for target=arm1176jzf-s on host= sparc-sun-solaris2.10. ( i hav browsed but can't find prebuild one) so, i tried to establish by myself i hav established binutils first, but while trying to configure& build gcc(gcc4.4.0) , i was interrupted with following error.. error message: this error has come while building boot strap gcc for cross complier tools chain

checking build system type... sparc-sun-solaris2.10
checking host system type... arm-unknown-linux-gnu
checking target system

[code].....

View 3 Replies View Related

Software :: Need To Build Cross Compiler Tool Chain

Sep 23, 2010

I have downloaded the source for an embedded Linux system but no tool chain. I want/need a tool chain to rebuild the system image. Can anyone point me to a 'How to' for building the environment? It is an ARM9 system.

View 4 Replies View Related

General :: Generate 64bit Executable (utility) Using PPC Cross Compiler?

Sep 7, 2010

I need to generate 64-bit executable(utility) using PowerPC-linux cross compiler? i.e. Any options need to pass ppc-gcc other then "-m64". I have written a small test program on 64-bit server and generated 64-bit executable using gcc alone.

Ex:
#
file a.out
a.out: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
#

Actually I want to generate a executable(using PowerPC-linux cross compiler),which will run on 64-bit machines. In my Makefile I am trying to use CC = XXXXX/powerpc-linux/bin/powerpc-linux-gcc -m64 to ppc-linux-gcc,but giving error.
error: -m64 not supported in this configuration
If I remove -m64 its generating 32-bit executable.

View 5 Replies View Related

Software :: Best Cross Compile Kit For Building Glib-2 For PowerPC?

Jun 15, 2010

I'm trying to cross-compile glib-2.24.0 for Linux running on a Freescale PPC CPU and running into one problem after another. My host is running Fedora 13, and there I can compile the same source for the host machine with no problems. For the cross compilation, I'm currently using LTIB (provided already configured from Freescale for my board/CPU).

View 3 Replies View Related

Software :: Make - Building Project With Different Linker And Compiler?

Jun 7, 2011

I am trying to recompile a large open source project with the Nvidia Cuda Compiler: 'nvcc' [URL].. nvcc supports all the compile flags that gcc does but not all of the linking options. This shouldn't be a problem however as nvcc generates object files that are compatible with gcc and I should hence be able to compile with nvcc and then link with gcc (linking against the CUDA library).

To compile with nvcc I use:
./configure CC=nvcc

Which successfully creates make files that se nvcc to compile. But the Configuration script does not seem to honor LD=gcc in the same way, ie: ./configure CC=nvcc LD=gcc still tries to link everything with nvcc which promptly fails because nvcc does not support the option '-soname' without which the project will not link correctly. What am I doing wrong? How can tell the config script to link with gcc?

View 1 Replies View Related

General :: No Space Left On Device Error With Plenty Of Free INodes After Cross Compiler Setup

Jan 15, 2011

I have searched google for a couple of days, and I keep hearing about an INode limit on filesystems, but that doesn't seem to be the case.

Now whenever I try to download something, watch a ..... video, or listen to Pandora radio, it just stops playing after 2 seconds. Downloading says "No space left on device".I also get the error as root.I do have 5% and more free of HDD space. After reading the similar posts I checked all of this, so if I am overlooking something on the forum, I apologize for an extra post about.

View 3 Replies View Related

Software :: Build A C Compiler Without An Existing C Compiler?

Dec 14, 2010

So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?

I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.

View 6 Replies View Related

Fedora :: How To Cross-compile With Mingw32

May 15, 2010

I am trying to nuild executables to run on Windoze under Fedora 12. I have install all of the mingw32 RPMs. Now I just need a URL that discribes how to compile. I am using autoconf and automake. I have done it before but that was installing from Mingw32 source.

View 2 Replies View Related

Red Hat / Fedora :: Cross[x] Mark On Root Folder?

Feb 5, 2011

recently i have installed fedora13 on my laptop okey and when i logged on i t provides two option first with user name and second with other so what is tha purpose of other option

also,when i go to mycomputer file system then at that point i found that there is cross[x] mark on root folder why this is so.

View 3 Replies View Related

Fedora :: Where To Get Gcc/g++ Compiler

Sep 2, 2009

where I can download the GNU compilers. I installed Fedora 11 today dual botted with 64-bit Vista on an HP 64-bit computer. I found a little short description on gnu.org, but no links to download sites. Since I don't have a compiler installed already I will need to install the binarys instead of the source code.

View 7 Replies View Related

Fedora :: How To Get G++ Compiler In 14

Jan 17, 2011

How can i get g++ compiler in ferdora 14. i cant compile any program in frdora 14.

View 3 Replies View Related

Fedora :: How To Cross Compile Mplayer Into Arm Target Board

May 13, 2010

how to cross compile Mplayer into ARM target board , my target board details are URL...and i have successfully compiled Mplayer in intel pc.

View 2 Replies View Related

Fedora :: Getting Error While Cross Compiling Kernel On 14 Host

Feb 9, 2011

I am cross compiling a linux kernel for the mips platform. I have installed the tool chain and everything. When i try to build the kernel i get the following error message.

HOSTCC -static scripts/basic/fixdep
scripts/basic/fixdep.c: In function traps
scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
[Code].....

If i set up the toolchain on a fedora 13 machine with the exact same procedure, the cross compilation works fine. I can't figure out how this can be fixed. I am currently considering downgrading to fedora 13 due to this.

View 3 Replies View Related

Networking :: How To Connect Two Laptops With Cross Cable In Fedora 9

May 3, 2010

I have two laptops running fedora 9 (32-bit and 64-bit on each system) and I want to connect them together for sharing files. For this I have a cross cable i.e.,a simple cable that is usually used to connect a PC with ADSL modem.

View 4 Replies View Related

Fedora Installation :: C And C++ Compiler ?

Aug 10, 2009

Im using Fedora 10, and I need to install a c, and c++ compiler. I've downloaded codeblocks, but when i try to compile and run the code, nothing will happen. What other compiler should i use? what is the best c++ compiiler for fedora?

View 5 Replies View Related

Fedora :: Cannot Find Compiler G77 ?

Nov 7, 2009

I have recently installed Fedora 11 and I am having some trouble with it. While installing another program I get the message: make: g77: Command not found

I tied to look for the compiler to install using yum search g77

And got the following list:

I was wondering if it is in some obscure repository, which would seem odd to me. I have the following repositories available (as shown in yumex) :

View 2 Replies View Related

Red Hat / Fedora :: Install GCC Compiler G++ 4.5?

Feb 13, 2011

i just installed fedora 14 and which gcc shows that there is no C++ compiler . How can i download G++ 4.5 version without download the entire development tools. Last time i tried yum groupinstall "Development Tools" and that took ages with no result.. I just want to install C++ ..

View 2 Replies View Related

Fedora :: How To Install A C Compiler

Aug 18, 2010

i just installed fedora and i want to install a couple programs but i keep getting the same message saying that no acceptable c compiler was found, so i downlpoaded the gcc packlage, extracted it, navigated to it in the terminal, and ran ./configure but it tells me that there was no acceptable c compiler found, whats going on here, i need an acceptable c compiler to install a c compiler this is real confusing

View 14 Replies View Related

Programming :: C++ Compiler For OS Using Fedora?

Jul 13, 2011

I installed Fedora on my machine. I'm very new at Linux but would like to start coding in C++. I would like to know the steps to write and compile a Hello World program using C++ in Linux. (I've been a Microsoft person all my life).

View 4 Replies View Related

General :: Cannot Locate The C Compiler Being Used On Fedora

Mar 12, 2009

I am running a version of Fedora 10 on my PC for development puposes. The strange problem I have encountered is that I cannot locate the C compiler being used. I have looked for G++ GCC, etc but cannot find it. Does anyone know the compiler being used or the command to find it through command line.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved