qcc and -msoft-float

Hi,

I have a problem with qcc.

Following line links the the wrong libgcc.a with application:

qcc -Vgcc_ntoppcbe -Wl,-M -Wc,-msoft-float -om1 m1.c



…comment 0x00000000 0xa6
.comment 0x00000000 0x26 /ppcbe/lib/crtbegin.o
.comment 0x00000026 0x2d /tmp/AAA388775_cc.o
.comment 0x00000053 0x2d /usr/lib/gcc-
lib/ntoppc/2.95.3/libgcc.a(_extendsfdf2.o)
.comment 0x00000080 0x26 /ppcbe/lib/crtend.o
The libggc.a in the nof directory would be the right one. If I use the
gcc frontend, the correct libgcc.a is used:
ntoppc-gcc -Wl,-M -msoft-float -om1 m1.c



…comment 0x00000000 0xa6
.comment 0x00000000 0x26 /ppcbe/lib/crtbegin.o
.comment 0x00000026 0x2d /tmp/cc5K4BDk.o
.comment 0x00000053 0x2d /usr/lib/gcc-
lib/ntoppc/2.95.3/nof/libgcc.a(_extendsfdf2.o)
.comment 0x00000080 0x26 /ppcbe/lib/crtend.o


Is there something wrong with my qcc commandline?

-Michael

qcc doesn’t support multilib.

BTW - why are you using softfloat?

Michael Tasche <michael.tasche@esd-electronics.com> wrote:

Hi,

I have a problem with qcc.

Following line links the the wrong libgcc.a with application:

qcc -Vgcc_ntoppcbe -Wl,-M -Wc,-msoft-float -om1 m1.c
.
.
.
.comment 0x00000000 0xa6
.comment 0x00000000 0x26 /ppcbe/lib/crtbegin.o
.comment 0x00000026 0x2d /tmp/AAA388775_cc.o
.comment 0x00000053 0x2d /usr/lib/gcc-
lib/ntoppc/2.95.3/libgcc.a(_extendsfdf2.o)
.comment 0x00000080 0x26 /ppcbe/lib/crtend.o
The libggc.a in the nof directory would be the right one. If I use the
gcc frontend, the correct libgcc.a is used:
ntoppc-gcc -Wl,-M -msoft-float -om1 m1.c
.
.
.
.comment 0x00000000 0xa6
.comment 0x00000000 0x26 /ppcbe/lib/crtbegin.o
.comment 0x00000026 0x2d /tmp/cc5K4BDk.o
.comment 0x00000053 0x2d /usr/lib/gcc-
lib/ntoppc/2.95.3/nof/libgcc.a(_extendsfdf2.o)
.comment 0x00000080 0x26 /ppcbe/lib/crtend.o



Is there something wrong with my qcc commandline?

-Michael


cburgess@qnx.com

On 9 May 2003 13:14:27 GMT, Colin Burgess <cburgess@qnx.com> wrote:

qcc doesn’t support multilib.

BTW - why are you using softfloat?

  1. Look at TicketId 61999 of standard support.
  2. I use a ppc405(cpu without fpu).

-Michael

On 9 May 2003 13:14:27 GMT, Colin Burgess <cburgess@qnx.com> wrote:

qcc doesn’t support multilib.

Now and in future?

-Michael

Michael Tasche <michael.tasche@esd-electronics.com> wrote:

On 9 May 2003 13:14:27 GMT, Colin Burgess <> cburgess@qnx.com> > wrote:

qcc doesn’t support multilib.

Now and in future?

I don’t work on qcc anymore, so I can’t really comment. But I doubt that we
will support soft-float, since it would require a separate libc, libm libph

  • anything that has a float or double as part of it’s interface…



    cburgess@qnx.com