EmbDev.net

Forum: ARM programming with GCC/GNU tools Yagarto on Linux - GCC 4.6.2 4.6.2 zlib GCC_NO_EXECUTABLES error


von Drasko D. (drasko)


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

von gcc-help@gcc.gnu.org (Guest)


Rate this post
useful
not useful

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.