If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Help!! Cross-Compiler in linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-04, 07:37
frankdom frankdom is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Help!! Cross-Compiler in linux

Hello, People. I am new in the forum and in the UNIX use, I need aid.

I am trying to create linux embedded with patch RTLinux, I need to make to cross-compiler for target i386, but I am doing it in host i686, with RedHat 9, when treatment to form the BinUtils, soon to compile it, produces me an error, when I execute.

[frankdom@linuxhost build-binutils]$../binutils-2.10.1/configure --target=${TARGET} --prefix=${PREFIX}

where ${TARGET}=i386-linux

${PREFIX}=${PRJROOT}/tools

${PRJROOT}=/home/frankdom/control-project/${PROJECT}

${PROJECT}=daq-module

this it is the error.

Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /home/frankdom/control-project/daq-module/build-tools/build-binutils using "mt-frag"
collect2: cannot find `ld'
*** The command 'gcc -o conftest -g -O2 -W -Wall conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

So that it tries it to do for i686? As I can solve?

Thanks .. Excuse ingles. I am from Venezuela.

NOTE: The used book as guide is "BUILDING EMBEDDED LINUX SYSTEMS", by the author KARIM YAGHMOUR and the publishing house O`REILLY
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On