2008/9/9 Claudio Scordino <[EMAIL PROTECTED]>: > I found the problem to be in the "-Wno-poison-system-directories" option in > sb2-init. > > I can make sb2-init work if I remove this option. > > Maybe gcc 2.95 doesn't support this option ? > > Is it _strictly_ necessary ? Can it be safely removed ?
That is a codesourcery toolchain specific option which makes the warnings about including some (usually) host-system directories in the include path while cross compiling go away. Both scratchboxen emulate compiling in the target system and do have /usr/inlcude etc in the include path. While omitting the option only emits warnings, those warnings are known to cause trouble with configuration scripts and -Werror (making compilation tests fail). -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi _______________________________________________ Scratchbox-users mailing list [email protected] http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
