On Sun, Sep 5, 2010 at 2:07 AM, Corey Osgood <[email protected]> wrote: > On Sun, Sep 5, 2010 at 1:46 AM, ali hagigat <[email protected]> wrote: >> Many thanks Corey. The link is OK, i was mistaken. >> My machine is Linux, Fedora 12, should i execute >> util/crossgcc/buildgcc to change the GCC of the system? >> So how util/crossgcc/buildgcc works? because there is already a GCC >> rpm installed, then it will install another one and the previous >> version is uninstalled? > > No, the crossgcc toolchin will by default live in ~/xgcc
Sorry, that should have been <current dir>/xgcc -Corey > (specified by > "TARGETDIR=`pwd`/xgcc", overridden with -D switch). To point to it, > you do: > > $ PATH="/path/to/coreboot/util/crossgcc/xgcc/bin":$PATH; make > > At least I think that's all you've got to do, haven't had to use it yet > myself. > > -Corey > >> If I use Fedora 12 GCC, when it executes 'gcc -Wa,--divide" and the >> option(--divide) is unknown, how come it can compile the files by it >> without errors? >> >> On Sun, Sep 5, 2010 at 10:00 AM, Corey Osgood <[email protected]> wrote: >>> On Sun, Sep 5, 2010 at 1:15 AM, ali hagigat <[email protected]> wrote: >>>> Thank you all for the replies. >>>> Peter, the link you wrote is broken! >>>> http://sourceware.org/binutils/docs/as/i386_002dOptions.html#i386_002dOptions >>> >>> Works fine for me: >>> >>> --divide >>> On SVR4-derived platforms, the character `/' is treated as a >>> comment character, which means that it cannot be used in expressions. >>> The `--divide' option turns `/' into a normal character. This does not >>> disable `/' at the beginning of a line starting a comment, or affect >>> using `#' for starting a comment. >>> >>>> >>>> Should i execute, util/crossgcc/buildgcc to change and patch the >>>> original Linux GCC? >>> >>> No, crossgcc should fetch it's own "known good" version of gcc and >>> patch it. Trying to patch some other version of gcc will probably >>> fail. >>> >>> -Corey >>> >>>> That will be all? or I may have to change some other things. >>>> Please excuse me if my question is a repeat. >>>> >>>> On Sat, Sep 4, 2010 at 5:50 PM, Peter Stuge <[email protected]> wrote: >>>>> ali hagigat wrote: >>>>>> It seems that there is no definition of --divide option for GNU >>>>>> assembler. >>>>> >>>>> http://sourceware.org/binutils/docs/as/i386_002dOptions.html#i386_002dOptions >>>>> >>>>> -- >>>>> coreboot mailing list: [email protected] >>>>> http://www.coreboot.org/mailman/listinfo/coreboot >>>>> >>>> >>>> -- >>>> coreboot mailing list: [email protected] >>>> http://www.coreboot.org/mailman/listinfo/coreboot >>>> >>> >> >> -- >> coreboot mailing list: [email protected] >> http://www.coreboot.org/mailman/listinfo/coreboot >> > -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

