Skip to contentSkip to conversation

compiling newlib for powerpc-linux

DISCUSSION ramanathan G A 1 participant 1 message Jun 3, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
Thanks for the response.

Well. I tried with the '--with-newlib' flag only in my second attempt.
It gave me the same at first time.
---------screen shot ------
[root@linuxswan newlib-powerpc]# ../newlib-1.11.0/configure --target=powerpc-linux
Configuring for a i686-pc-linux-gnu host.
*** This configuration is not supported in the following subdirectories:
target-newlib target-libgloss
(Any other directories should still work fine.)
Created "Makefile" in /root/anandapa/newlib-powerpc using "mt-frag"
[root@linuxswan newlib-powerpc]#
--------

Can we try running the configuration for the subdirectories (newlib and libgloss) one by one? If so, any concerns?

And why is it set to '--norecursion' by default? Any intentions behind?

Rgds,
Ramanathan G A

Quoted 15 lines · On Tue, 03 Jun 2003 Nikunj A. Dadhania wrote :
Quoted 4 lines · ramanathan G A

Hi All,
I am trying to setup an cross development environment for powerpc-linux on i686-linux.
Built binutils 2.13.90.0.4 and GCC (cross) 3.2 and was then

trying

Quoted 8 lines

to configure and compile newlib 1.11.0
(anything wrong with using newlib here?. Mine is an embedded powerpc -MPC8260- target system)

Here is the screen shot.
-----------------screen shot----
[root@linuxswan newlib-powerpc]# ../newlib-1.11.0/configure --with-newlib --target=powerpc-linux

Quoted 9 lines

I am not sure whether you need to give --with-newlib flag when you are
compiling newlib itself. Please try compiling without this flag.

Thanks
Nikunj

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/