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


ADVERTISEMENT

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 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

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

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

Fedora :: Installing Intel Compiler - Missing Critical Pre-requisite ?

Dec 30, 2009

I am trying to install the intel compiler onto my 64 bit machine to compile fortran and I cannot get past this error.

When I run the install package it looks for the neccesary pre requisites tell me that I need

I was trying to follow this guide [url] and the only library that installed correctly was the last one, the 64 bit one.

When i type yum install (one of the above libraries) it comes back and says that it is already present which cannot be correct since the install program asks for them.

View 1 Replies View Related

Fedora :: C Compiler Cannot Create Executable Files While Installing Madplay

Apr 29, 2010

what my intension is i want to cross complile vlc source code into arm9 mini 2440 target board for that i am compiling vlc source code in intel desktop pc which has fedora 10 version. so that in order to compile vlc source code we need to install following codecs those are libmad 0.15.1b,libid3tag-0.15.1b,madplay-0.15.1b,i got these codecs from h[URL] .and vlc sorce code from [URL]. i have successfully compiled libmad 0.15.1b and libid3tag-0.15.1b . those two are compiled in the following way [color] ./cofigure --prefix=/home/narendra/lib/ make make install [/color]

i was trying to compile madplay-0.15.1b in the following way

Code:
./configure --prefix=/home/narendra/madplay-0.15.1b CPPFLAGS="-I /home/narendra/lib/libmad-0.15.1b/include/" LDFLAGS="-L /home/narendra/lib/libid3tag-0.15.1b/lib/"
after this command i keep getting this error message

[Code]....

View 14 Replies View Related

Debian :: Installing Armhf Cross Tool Chain

Apr 25, 2016

I tried to install the cross toolchain for armhf but, apparently, I borked something. I tried to follow the directions here : [URL] .... but he lost me at "The key fingerprint is: 084C 6C6F 3915 9EDB 6796 9AA8 7DE0 8967 1804 772E (you will need to install curl in a bare chroot)".

I have successfully installed the toolchain according to the gnuarmeclipse method and don't recall any references to "chroot"; it was pretty straight forward. That machine took a dump and I need to start over. I would like to install the toolchain without Eclipse getting in the way (and hogging memory).

View 1 Replies View Related

Ubuntu :: Installing C Compiler Without CD Or Internet?

Jan 22, 2011

I currently have Ubuntu 10.04, no installation CD, and no interwebs to connect my computer to.What I'm really looking for is some file (or set of files) to download that will allow me to compile C programs (after moving said files onto a USB and then move to and install on my compy at home).

View 2 Replies View Related

General :: No Acceptable C Compiler Found In Ubuntu 10.04 When Installing Vlc

Oct 11, 2010

no acceptable c-compilier found when installing vlc offline. mozzilla can't connect to internet but I can ping my server

View 3 Replies View Related

Slackware :: Installing WxGTK - Internal Compiler Error

Mar 22, 2010

When I try to install wxGTK SlackBuilds. I get this error:
Code:
./src/aui/auibook.cpp: In member function 'size_t wxAuiNotebook::SetSelection(size_t)':
./src/aui/auibook.cpp:3482: internal compiler error: Segmentation fault
Please submit a full bug report with preprocessed source if appropriate.
See [URL] for instructions.
make: *** [auidll_auibook.o] Error 1
I tried redownloading the wxGTK-3.8.9.tar.gz file and reinstalling it, I get the same error.

View 8 Replies View Related

General :: Installing Ffmpeg And Gcc - Error: No Acceptable C Compiler Found In $PATH

Jan 17, 2010

I am running a server which is hosting a site where members can upload videoclips. I noticed that upon upload a thumbnail is not created for the videoclip. I found out that ffmpeg needed to be properly installed and in my case ffmpeg-php as the site runs on php. So far so good. I followed the instructions found somewhere to install ffmpeg-php but stall at the command: dot slash configure && make The error I get is:

checking for egrep... grep -E
checking for a sed that does not truncate output... slash slash bin slash sed
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH

I presume it's because gcc is missing. how I can start tackling the problem and ultimately get gcc running so I can install the ffmpeg? I am really sorry I was hoping to elaborate a bit more but I get an error: You are only allowed to post URLs to other sites after you have made 15 posts or more. so I guess I need to wait and describe it differently.

View 4 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

OpenSUSE Install :: Error In Installing Gcc 4.5.0 - Error Couldn't Find The C Compiler

Sep 9, 2010

i tried to install gcc-4.5.0 on opensuse 11.2 I gave ./configure but it gave the error couldn't find the c compiler.. the message was

[Code]....

View 2 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

General :: "no Acceptable C Compiler Found In $PATH" While Installing Berkeley Db"?

Jun 1, 2010

While installing berkeley db on linux i m getting the following error:

"configure: error: no acceptable C compiler found in $PATH"

I m installing this for postfix.

View 6 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







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