Hey hey! I have just tried to build a new GCC, and this time put the binutils folder inside as well, because I simply needed newones as well. But when it is at making the dynamic libraries, it suddenly does this:
for mlib in $MLIBS ; do \ /Users/Ingwie/Downloads/gcc-4.8.2-build/./binutils/strip-new -o libgcc_ext.10.4.dylib_T${mlib} \ -R ../../../gcc-4.8.2/./libgcc/config/i386/libgcc-darwin.10.4.ver -c -urx \ ../${mlib}/libgcc/${mlib}/libgcc_s.dylib || exit 1 ; \ done /Users/Ingwie/Downloads/gcc-4.8.2-build/./binutils/strip-new: invalid option -- c Usage: /Users/Ingwie/Downloads/gcc-4.8.2-build/./binutils/strip-new <option(s)> in-file(s) Removes symbols and sections from files The options are: -I --input-target=<bfdname> Assume input file is in format <bfdname> -O --output-target=<bfdname> Create an output file in format <bfdname> -F --target=<bfdname> Set both input and output format to <bfdname> -p --preserve-dates Copy modified/access timestamps to the output -D --enable-deterministic-archives Produce deterministic output when stripping archives -U --disable-deterministic-archives Disable -D behavior (default) -R --remove-section=<name> Remove section <name> from the output -s --strip-all Remove all symbol and relocation information -g -S -d --strip-debug Remove all debugging symbols & sections --strip-dwo Remove all DWO sections --strip-unneeded Remove all symbols not needed by relocations --only-keep-debug Strip everything but the debug information -N --strip-symbol=<name> Do not copy symbol <name> -K --keep-symbol=<name> Do not strip symbol <name> --keep-file-symbols Do not strip file symbol(s) -w --wildcard Permit wildcard in symbol comparison -x --discard-all Remove all non-global symbols -X --discard-locals Remove any compiler-generated symbols -v --verbose List all object files modified -V --version Display this program's version number -h --help Display this output --info List object formats & architectures supported -o <file> Place stripped output into <file> /Users/Ingwie/Downloads/gcc-4.8.2-build/./binutils/strip-new: supported targets: mach-o-x86-64 mach-o-i386 mach-o-le mach-o-be mach-o-fat pef pef-xlib sym srec symbolsrec verilog tekhex binary ihex make[3]: *** [libgcc_ext.10.4.dylib] Error 1 make[2]: *** [all-stage1-target-libgcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 So the -c flag is not supported by the binutils I choose. How can I get around this? Kind regards, Ingwie