Re: sync_add_and_fetch problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, I have gotten it worked out now. Thank you for all of the help.

How can someone check what the default architecture setting is for their
gcc? This seems to fit the evidence but I would really like to verify
it.

Chuck

On Thu, 2008-12-04 at 09:17 -0800, Brian Dessent wrote:
> Charles Crisler wrote:
> 
> > gcc -shared -fPIC -march=i486 -g -Wl,--version-script=merlotcore.ver -o
> > $@ $^ $(XLIBS)
> 
> That is the command used to link the program, apparently.  -march at
> that point is irrelevant.  It needs to be specified when the object is
> compiled.
> 
> Also, regarding the difference between Fedora and Ubuntu: it is possible
> to change the default setting of -march when configuring gcc itself. 
> The Debian gcc package maintainers (and hence also Ubuntu) do this to
> set i486 as the default, IIRC.  Apparently the Fedora gcc packagers do
> not.  In any case, it's still a bug to rely on features of a particular
> arch and then assume that arch has been selected by the toolchain.
> 
> Brian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux