[coreboot] --divide!! and .xcompile
corey.osgood at gmail.com
Sun Sep 5 08:07:22 CEST 2010
On Sun, Sep 5, 2010 at 1:46 AM, ali hagigat <hagigatali at gmail.com> 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 (specified by
"TARGETDIR=`pwd`/xgcc", overridden with -D switch). To point to it,
$ 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.
> 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 <corey.osgood at gmail.com> wrote:
>> On Sun, Sep 5, 2010 at 1:15 AM, ali hagigat <hagigatali at gmail.com> wrote:
>>> Thank you all for the replies.
>>> Peter, the link you wrote is broken!
>> Works fine for me:
>> 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
>>> 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 <peter at stuge.se> wrote:
>>>> ali hagigat wrote:
>>>>> It seems that there is no definition of --divide option for GNU
>>>> coreboot mailing list: coreboot at coreboot.org
>>> coreboot mailing list: coreboot at coreboot.org
> coreboot mailing list: coreboot at coreboot.org
More information about the coreboot