Yagarto on Linux - GCC 4.6.2 4.6.2 zlib GCC_NO_EXECUTABLES error

OP #2546342
Rate this post
• ▲ useful
▼ not useful
Hi all,
I am compiling Yagarto for Linux using MAC build scripts.

It works more or less fine, except GCC build without adding 
--with-system-zlib option (as it is not added in Yagarto buildscripts by 
default).

I am hitting :
configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

Apparently, there been experiences with this bug
(http://www.mailinglistarchive.com/html/gcc-help@gcc.gnu.org/2011-03/msg00327.html).

Also, here 
http://cu.rious.org/make/compiling-the-arm-cortex-m4-toolchain-yourself/ 
the same workaround (-–with-system-zlib: Fixes the error: configure: 
error: Link tests are not allowed after) has been noted.

I tested it, and it works.

I have two questions :

1) --with-system-zlib overrides this bug, but how this affects
produced binary (what is the differences in using system or non-system
zlib) ?

2) Is there a patch to this bug (it would be easier to add the patch,
then to demand that every user has system zlib installed) ?

Best regards,
Drasko

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.