public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* compiling newlib
@ 2020-08-21  8:20 Paul Zimmermann
  2020-08-24 19:41 ` Jeff Johnston
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Zimmermann @ 2020-08-21  8:20 UTC (permalink / raw)
  To: newlib

       Hi,

I am new to this list. I have two questions:

1) I have a file newlib/libm/libm.a, that I have downloaded somewhere, but
   I don't remember where. I'd like to know to which version of newlib it
   corresponds. Is there a way to do this?

2) I downloaded newlib-3.3.0 from ftp://sourceware.org/pub/newlib/,
   but I am unable to compile it on x86_64 under Linux.
   Here is what I did:
   $ tar xf /tmp/newlib-3.3.0.tar.gz
   $ cd newlib-3.3.0
   $ mkdir build
   $ cd build
   $ ../configure --prefix=/tmp # runs ok
   $ make

   The make command returns almost immediately, and there is no libm.a
   file created.

   I tried also the following:
   $ tar xf /tmp/newlib-3.3.0.tar.gz
   $ cd newlib-3.3.0
   $ mkdir build
   $ cd build
   $ ../configure --prefix=/tmp --target=x86_64
   $ make

   Then make seems to do more job, however it fails with:

   /bin/bash: line 2: x86_64-ar: command not found

Note: item 1 of the FAQ on https://sourceware.org/newlib/ refers to
${FULL_PATH_TO_SRC}/src/configure --prefix=`pwd` --target=XXX but there
is no src directory in the newlib-3.3.0.tar.gz tarball.

What am I doing wrong?

Best regards,
Paul Zimmermann
   

^ permalink raw reply	[flat|nested] 10+ messages in thread
* compiling newlib
@ 2003-11-26 21:57 Xavier Pegenaute
  0 siblings, 0 replies; 10+ messages in thread
From: Xavier Pegenaute @ 2003-11-26 21:57 UTC (permalink / raw)
  To: newlib

Hi,

ok,i want to compile the newlib library, what Linux i have to install,
it works with the last RedHat ?

Thanks.
Xavi.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* compiling newlib
@ 2000-12-19 22:59 HenrySimmons17
  2000-12-19 23:39 ` Alexandre Oliva
  0 siblings, 1 reply; 10+ messages in thread
From: HenrySimmons17 @ 2000-12-19 22:59 UTC (permalink / raw)
  To: newlib

Hello
When I try to compile newlib with the tools form uClinux-coldfire I get an 
error message here at this point. Can someone tell me what I am doing missing.
thanks
Henry

/home/uClinux-coldfire/tools/m68k-elf-gcc -DPACKAGE=\"newlib\" 
-DVERSION=\"1.9.0\"  -I. -I../../../../../newlib/libc/stdlib  -O2 
-DMISSING_SYSCALL_NAMES -I../../targ-include 
-I../../../../../newlib/libc/../libc/include -fno-builtin      -g
-O2 -c ../../../../../newlib/libc/stdlib/__adjust.c
m68k-elf-gcc: installation problem, cannot exec `cpp': No such file or 
directorymake[3]: *** [__adjust.o] Error 1
make[3]: Leaving directory 
`/home/newlib/newlib-1.9.0/m5200/m68k-elf/newlib/libc/stdlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/newlib/newlib-1.9.0/m5200/m68k-elf/newlib/libc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/newlib/newlib-1.9.0/m5200/m68k-elf/newlib'
make: *** [all-target-newlib] Error 2
[root@localhost m5200]

                       

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-25 17:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21  8:20 compiling newlib Paul Zimmermann
2020-08-24 19:41 ` Jeff Johnston
2020-08-25  6:42   ` Paul Zimmermann
2020-08-25  7:37     ` Christophe MONAT
2020-08-25  8:39       ` Paul Zimmermann
2020-08-25  8:50         ` Christophe MONAT
2020-08-25 17:04     ` Keith Packard
  -- strict thread matches above, loose matches on Subject: below --
2003-11-26 21:57 Xavier Pegenaute
2000-12-19 22:59 HenrySimmons17
2000-12-19 23:39 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).