This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Possible problem in libstdc++v3



> I've been trying to build a cross compiler - host=i686-pc-linux-gnu
> target=i586-pc-linux-gnu.

Why do you need a cross-compiler?  Just give the flag -mcpu=i586 to your
regular compiler.  If your code never needs to run on a 386, 486 (or k6?),
you can pass -march=i586 as well to enable use of instructions that don't
exist on non-Pentiums.

Just the same, I have no idea why you see

> /tmp/ccVXaasj.s: Assembler messages:
> /tmp/ccVXaasj.s:333: Error: invalid section for operation
> /tmp/ccVXaasj.s:363: Error: invalid section for operation


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]