[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: infos on compiler flag
From: |
W . Northcott |
Subject: |
Re: infos on compiler flag |
Date: |
Thu, 12 Sep 2002 10:47:32 +1000 |
Hi Alex
I think you are using the FSF build of the compiler rather than the Apple
one.
AFAIK this is a very unsupported combination. It is also sub-optimal
because it omits a substantial number of important optimisations which
have been added by Apple but not yet accepted by the FSF people. The
speed difference has been reported as around 40%!
Do you have some compelling reason not to use Apple's standard compiler
(accept for the one function call patch)? This version is well tested.
Indeed it almost certainly much the best tested of any of the gcc
objective-C compiler versions, because it is actually used to build the
operating system.
Bill Northcott
address@hidden wrote on 12/09/2002 08:15:22 AM:
> Hi
> cd [localhost:~] alex% cd objc-sample/
> [localhost:~/objc-sample] alex% gcc3 -o test -Wno-import
> -fgnu-runtime main.m Printer.m -lobjc -lpthread
> main.m: In function `main':
> main.m:6: warning: return type of `main' is not `int'
> main.m: At top level:
> main.m:14: internal error: Bus error
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://developer.apple.com/bugreporter> for instructions.
> [localhost:~/objc-sample] alex%
> [localhost:~/objc-sample] alex% ls
> README main.m printer.h printer.m test
> [localhost:~/objc-sample] alex% gcc -o test -Wno-import -fgnu-runtime
> main.m Printer.m -lobjc -lpthread
> main.m:0: Assertion "flag_next_runtime" failed
> Printer.m:0: Assertion "flag_next_runtime" failed
> [localhost:~/objc-sample] alex%
> --
> Now i am compiling again the gcc.
> REGARDS
> ALEX
> ==================================
> Swarm-Support is for discussion of the technical details of the day
> to day usage of Swarm. For list administration needs (esp.
> [un]subscribing), please send a message to <address@hidden>
> with "help" in the body of the message.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.