This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newlib on Sparc64?


Newlib does not support building for sparc64 linux.

You could try sparc64-elf assuming you have, or can build, the
sparc64-elf toolchain.  You would then need to specify
--target=sparc64-elf on your newlib configure call.

-- Jeff J.

On Wed, Jun 21, 2017 at 4:06 PM, Yihan Pang <pyihan1@vt.edu> wrote:
> Hi All,
>
> I am trying to use newlib on a SPARC S7 server that is running Oracle
> Linux 6 OS. However, when I finished running the configuring script,
> and execute the make command, it print out nothing to be done for all,
> all-target. I checked the newlib folders and there is a sparc folder
> under newlib/libc/machine/ so I assumed I don't need to port it
> manually.
>
> My question is does newlib currently support sparc64 or not, if so do
> I have to manually port it?
>
> Below is my configure script output and make command output
>
> [yihan@localhost nlib_build]$ ../newlib-2.5.0/configure
> checking build system type... sparc64-unknown-linux-gnu
> checking host system type... sparc64-unknown-linux-gnu
> checking target system type... sparc64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for a sed that does not truncate output... /bin/sed
> checking for gawk... gawk
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
> checking for gnatbind... no
> checking for gnatmake... no
> checking whether compiler driver understands Ada... no
> checking how to compare bootstrapped objects... cmp
> --ignore-initial=16 $$f1 $$f2
> checking for objdir... .libs
> checking for isl 0.16, 0.15, or deprecated 0.14... yes
> checking for isl 0.16 or 0.15... yes
> checking for default BUILD_CONFIG...
> checking for --enable-vtable-verify... no
> checking for bison... bison -y
> checking for bison... bison
> checking for gm4... no
> checking for gnum4... no
> checking for m4... m4
> checking for flex... flex
> checking for flex... flex
> checking for makeinfo... no
> /home/yihan/newlib-2.5.0/missing: line 81: makeinfo: command not found
> checking for expect... expect
> checking for runtest... runtest
> checking for ar... ar
> checking for as... as
> checking for dlltool... no
> checking for ld... (cached)
> /opt/rh/devtoolset-3/root/usr/libexec/gcc/sparc64-redhat-linux/4.9.2/ld
> checking for lipo... no
> checking for nm... nm
> checking for ranlib... ranlib
> checking for strip... strip
> checking for windres... no
> checking for windmc... no
> checking for objcopy... objcopy
> checking for objdump... objdump
> checking for readelf... readelf
> checking for cc... cc
> checking for c++... c++
> checking for gcc... gcc
> checking for gcj... no
> checking for gfortran... gfortran
> checking for gccgo... no
> checking for ar... ar
> checking for as... as
> checking for dlltool... no
> checking for ld... ld
> checking for lipo... no
> checking for nm... nm
> checking for objcopy... objcopy
> checking for objdump... objdump
> checking for ranlib... ranlib
> checking for readelf... readelf
> checking for strip... strip
> checking for windres... no
> checking for windmc... no
> checking where to find the target ar... host tool
> checking where to find the target as... host tool
> checking where to find the target cc... host tool
> checking where to find the target c++... host tool
> checking where to find the target c++ for libstdc++... host tool
> checking where to find the target dlltool... host tool
> checking where to find the target gcc... host tool
> checking where to find the target gcj... host tool
> checking where to find the target gfortran... host tool
> checking where to find the target gccgo... host tool
> checking where to find the target ld... host tool
> checking where to find the target lipo... host tool
> checking where to find the target nm... host tool
> checking where to find the target objcopy... host tool
> checking where to find the target objdump... host tool
> checking where to find the target ranlib... host tool
> checking where to find the target readelf... host tool
> checking where to find the target strip... host tool
> checking where to find the target windres... host tool
> checking where to find the target windmc... host tool
> checking whether to enable maintainer-specific portions of Makefiles... no
> configure: creating ./config.status
> config.status: creating Makefile
> [yihan@localhost nlib_build]$ make
> make[1]: Entering directory `/home/yihan/nlib_build'
> mkdir -p -- ./etc
> Configuring in ./etc
> configure: creating cache ./config.cache
> checking for a BSD-compatible install... /usr/bin/install -c
> configure: updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> make[2]: Entering directory `/home/yihan/nlib_build/etc'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/yihan/nlib_build/etc'
> make[1]: Nothing to be done for `all-target'.
> make[1]: Leaving directory `/home/yihan/nlib_build'
>
>
>
> Thanks,
> Yihan Pang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]