[Bug 234750] Review Request: avr-binutils - Cross Compiling GNU binutils targeted at avr

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: avr-binutils - Cross Compiling GNU binutils targeted at avr


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234750





------- Additional Comments From rc040203@xxxxxxxxxx  2007-04-01 14:19 EST -------
In reply to comment #5)

> > * --target-prefix
> > Superfluous
> > 
> 
> Nope, I thought so too, but %configure does something which makes 
> this necessary (probably passing -bindir).
ATM, I am short on time, so just a short note without having tried to check details:

You observation probably is the result of one of two bugs in rpm:
- redhat-rpm-config kills config.sub/config.guess and replaces them with ancient
versions. This is inappropriate for binutils, gcc etc. because they ship with
much newer versions, esp. for those targettting embedded systems, which often
ship customized versions.

- %configure overrides --host, --build ...
This is wrong for cross-compilation.

The work-around to both issues is not to use %configure, but to
directly use configure with all "--*dir" options explicitly passed directly

[adding jwilson, because this bug is one of those I repeatedly had complained about]





-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]