cross compiler question?

cross compiler question?

Post by wang ge » Fri, 17 Aug 2001 05:54:41



Hello,
Im trying to create my own operating system.For that I need to setup
gcc as a cross compiler.I am building for i386-unknown-gnu with an
i686.

my os: redhat 6.1
binutils-2.9.1
gcc-2.95.2

the step is:
cd /home/foo
mkdir build-binutils build-gcc

#configure, buil and install binutils
cd build-binutils
../binutils-2.9.1/configure --target=i386-unknown-gnu
--prefix=/usr/local/xdev
make all install
(Works fine to build binutils.)

#configure, buil and install gcc
cd build-gcc
../gcc-2.95.2/configure --target=i386-unknown-gnu
--prefix=/usr/local/xdev
(Works fine to build binutils too.)

make LANGUAGES="c c++" LIBGCC=/dev/null

(then show:)
xgcc: libgcc.a : No such file or directory
make: *** [libgcc1-test] Error1

Any help would be greatly appreciated.

 
 
 

cross compiler question?

Post by Lee Merri » Sat, 18 Aug 2001 00:56:35


Quote:> make LANGUAGES="c c++" LIBGCC=/dev/null

Why do you put these special options? When I built gcc as a
cross-compiler (years ago, haven't done this recently), after setting
up the configuration as you did, I just typed "make"

Lee

 
 
 

1. cross compiler question? (sorry not for embedded)

Hello,
Im trying to create my own operating system.For that I need to setup
gcc as a cross compiler.I am building for i386-unknown-gnu with an
i686.

my os: redhat 6.1
binutils-2.9.1
gcc-2.95.2

the step is:
cd /home/foo
mkdir build-binutils build-gcc

#configure, buil and install binutils
cd build-binutils
../binutils-2.9.1/configure --target=i386-unknown-gnu
--prefix=/usr/local/xdev
make all install
(Works fine to build binutils.)

#configure, buil and install gcc
cd build-gcc
../gcc-2.95.2/configure --target=i386-unknown-gnu
--prefix=/usr/local/xdev
(Works fine to build binutils too.)

make LANGUAGES="c c++" LIBGCC=/dev/null

(then show:)
xgcc: libgcc.a : No such file or directory
make: *** [libgcc1-test] Error1

Any help would be greatly appreciated.

2. Need help - IRQ blocked by another device?

3. cross compiler question?

4. UDMA33 and RedHat 5

5. Cross compilers-a question

6. input/output error

7. gcc error while building a linux-x-djgpp cross compiler

8. Don't read

9. egcs cross compiler

10. R3000 CROSS-COMPILER ???

11. NT cross compiler for Linux

12. cross compiler environment Windows -> Linux

13. problem in setup cross-compiler in cygwin.