Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Wrong compiler path when compiling zlib
@ 2014-01-01 22:46 Ivan Wagner
  2014-01-02  4:47 ` Baruch Siach
  0 siblings, 1 reply; 14+ messages in thread
From: Ivan Wagner @ 2014-01-01 22:46 UTC (permalink / raw)
  To: buildroot

I noticed that the compiler base directory is actually wrong when
attempting to compiler the zlib library.

I've configured CodeSourcery as an external pre-installed toolchain with
path under /opt but this is the error log I get when trying to compile zlib:

--------------------
./configure --shared --prefix=/usr
Wed Jan  1 23:37:01 CET 2014
=== ztest6146.c ===
extern int getchar();
int hello() {return getchar();}
===
/home/ivan/projects/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc
-c ztest6146.c
./configure: line 165:
/home/ivan/projects/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc:
No such file or directory
... using
/home/ivan/projects/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc

Checking for obsessive-compulsive compiler options...
=== ztest6146.c ===
int foo() { return 0; }
===
/home/ivan/projects/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc
-c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe
-Os -fPIC ztest6146.c
./configure: line 343:
/home/ivan/projects/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc:
No such file or directory
(exit code 127)
Compiler error reporting is too harsh for ./configure (perhaps remove
-Werror).
** ./configure aborting.
--------------------

I don't know where it gets the
/home/ivan/projects/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc
path from...

I someone facing something similar when trying to compile everything with
an external pre-installed toolchain?

Thank you,

Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140101/85b1b76d/attachment-0001.html>

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

end of thread, other threads:[~2014-01-02 12:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-01 22:46 [Buildroot] Wrong compiler path when compiling zlib Ivan Wagner
2014-01-02  4:47 ` Baruch Siach
2014-01-02  9:06   ` Ivan Wagner
2014-01-02  9:19     ` Baruch Siach
2014-01-02 10:08       ` Ivan Wagner
2014-01-02 10:34         ` Baruch Siach
2014-01-02 10:37           ` Ivan Wagner
2014-01-02 11:06             ` Baruch Siach
2014-01-02 11:09               ` Ivan Wagner
2014-01-02 11:17                 ` Baruch Siach
2014-01-02 11:35                   ` Ivan Wagner
2014-01-02 12:21                     ` Thomas Petazzoni
2014-01-02 12:33                       ` Ivan Wagner
2014-01-02 12:20             ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox