pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: GCC and as
On Sat, May 12, 2018 at 03:55:03PM -0500, Jason Bacon wrote:
> On 05/11/18 16:51, Joerg Sonnenberger wrote:
> > On Fri, May 11, 2018 at 03:51:17PM -0500, Jason Bacon wrote:
> > > assembler. I was hoping it might be as simple as
> > >
> > > AS= ${PREFIX}/bin/gas
> > >
> > > Not so, unfortunately. If not, perhaps the gcc packages should be using
> > > pkgsrc binutils on CentOS?
> > Setting a variable doesn't really help. There are options: Sort your own
> > PATH appropiately or ensure that as symlinks are created in .tools/bin.
> >
> > Joerg
>
> It looks like gcc ignores work/.cwrapper/bin/as. I tried overwriting it,
> tweaking so it would wrap ${PREFIX}/bin/gas, and gcc kept using /usr/bin/as
> instead.
.cwrappers/bin is not part of the PATH during the invocation of cc,
since it would create some stupid cycles.
Joerg
Home |
Main Index |
Thread Index |
Old Index