From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Wilson To: Ruediger Helsch Cc: Jim Wilson , Ian Lance Taylor , rms@gnu.ai.mit.edu, drepper@cygnus.com, dm@sgi.com, gcc2@cygnus.com, gas2@cygnus.com Subject: Re: global vars and symbol visibility for mips32/elf Date: Tue, 13 Aug 1996 19:04:00 -0000 Message-id: <199608140204.TAA12591@cygnus.com> References: X-SW-Source: 1996/msg00096.html #include int optind[30000], optarg[30000]; ... This is a good example. A number of systems get this wrong. One way to fix this is to make -fno-common the default. However, ANSI/ISO C does not require this solution. There are some other ways that this problem could be solved, by changing how the C library works, or by changing how the linker works. -fno-common is probably the easiest solution though. Jim