Re: collect2 "-o" argument position problem

2014-04-05 Thread Richard Sandiford
David Guillen writes: > The thing is that I had a similar problem before with the "-m" > parameter, which didn't had any parameter, therefore I used to had -m > -dynamic-linker (which is wrong) and I fixed it by adding: > > -#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \ > +#define LI

Re: collect2 "-o" argument position problem

2014-04-03 Thread David Guillen
Ops sorry to hear that. Actually it's a new backend I'm working on the responsible for that bug, so I guess it's relevant to post it here. So I run this: /home/david/uclibc/uclibc-buildroot-custom/output/build/host-gcc-final-gcc-4_7_3-release/build/./gcc/collect2 --sysroot=/home/david/uclibc/uc

Re: collect2 "-o" argument position problem

2014-04-02 Thread Jonathan Wakely
On 2 April 2014 23:26, David Guillen wrote: > Hello guys, > > I don't know whether this is the best place to ask for this, gcc-h...@gcc.gnu.org would have been better :-)

Re: collect2 "-o" argument position problem

2014-04-02 Thread Andrew Pinski
On Wed, Apr 2, 2014 at 3:26 PM, David Guillen wrote: > Hello guys, > > I don't know whether this is the best place to ask for this, but > anyway, here we go: > > I have two different commandlines for collect2 (I got them after using > -v in gcc) and I found out that the original one does not work

collect2 "-o" argument position problem

2014-04-02 Thread David Guillen
Hello guys, I don't know whether this is the best place to ask for this, but anyway, here we go: I have two different commandlines for collect2 (I got them after using -v in gcc) and I found out that the original one does not work because of the position in the parameter list. Error: /home/davi