This is the mail archive of the
mailing list for the Cygwin project.
RE: Compiling Cygwin on Linux
Robert Eckhoff wrote on 05 April 2008 22:39:
> directories. Winsup also had some source problems that I corrected.
> -extern bool wsock_started;
> +extern "C" bool wsock_started;
> -extern int __api_fatal_exit_val;
> +extern "C" int __api_fatal_exit_val;
> -extern char **__cygwin_environ, ***main_environ;
> +extern "C" char **__cygwin_environ, ***main_environ;
Last time I checked, putting extern "C" on a variable declaration was
meaningless, since variable names don't get mangled anyway. What makes you
think these changes are necessary?
> Uses goto's which breaks the build with gcc4.3. I rewrote the function
> to use if statements.
What kind of problem does gcc4.3 have with gotos? There's nothing wrong
with them in general and lots of other functions in that file have them, so
maybe there's some underlying problem which is the actual thing that needs
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html