[uClibc]bogus change to gcc-uClibc?

Miles Bader miles at lsi.nec.co.jp
Mon Feb 25 01:54:02 UTC 2002


gcc-uClibc.c has been changed to include the following code:

	for ( j = 1 ; j < argc ; j++ ) {
                ...
		} else if (strncmp("-Wl,",argv[j], 4) == 0) {
		    continue;
		} else if (strncmp("-v",argv[j], 2) == 0) {
		    continue;
		} else {
			gcc_argument[k++] = argv[j];
			gcc_argument[k] = '\0';
		}
	}

It looks like this will result in any `-Wl,...' options the user
specifies not being passed to gcc!  That's surely wrong...
[I often use -Wl, options with uClibc's gcc wrapper]

Also, I think it should let `-v' options be passed through too -- gcc's
-v output is quite useful.

-MIles
-- 
"1971 pickup truck; will trade for guns"



More information about the uClibc mailing list