On 3/15/07, Michael Gardner <[EMAIL PROTECTED]> wrote:
On 3/15/07, Andrew Pinski <[EMAIL PROTECTED]> wrote:
> On 3/15/07, Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote:
> > I thought that compiling with '-x objective-c' was supposed to have
> > the same effect as compiling a file with a .m extension too.
> > If that understanding is correct, I don't see how the behavior you
> > are seeing could be anything other than a compiler bug.
>
> Oh, I know what this is now.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31089

That bug's description doesn't seem to match the symptoms I'm seeing,
and it's reported against gcc 4.3 rather than 4.1.

For one, it is the same symptom, in that we are not linking against
the shared libgcc which the driver does automatically for objective-C
files if it is sees a .m.

Try adding -shared-libgcc to the link line and see if that works.

Again what is the ouput of ldd because that will tell me what is
really happening?

Thanks,
Andrew Pinski


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to