[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: infos on compiler flag
From: |
Paul E Johnson |
Subject: |
Re: infos on compiler flag |
Date: |
Wed, 11 Sep 2002 14:59:33 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606 |
I asked in the gcc list about your runtime problem, and they gave me no
new information. They referred me to somemanuals I did not know about,
though::
http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Objective-C-Dialect-Options.html#Objective-C%20Dialect%20Options
I don't even know for sure if you need to tell it to use the gnu runtime
just for the Swarm program itself or the Swarm libraries altogether.
I suppose to compile swarm or a swarm program with the gnuruntime you
need to add the flags for make:
EXTRAOBJCFLAGS=-fgnu-runtime EXTRALDFLAGS=-fgnu-runtime
Perrone Alessandro wrote:
Hi all
I am compiling a very simple program written in objc
(http://www.slip.net/~dekorte/Objective-C/Documentation/5_SampleCode/SampleCode1.html),
Here it is the result of compilation
--
gcc -fgnu-runtime main.m printer.m -o test
main.m:0: Assertion "flag_next_runtime" failed
printer.m:0: Assertion "flag_next_runtime" failed
[localhost:~/objc-sample] alex% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-937.2, based on gcc version 2.95.2
19991024 (release)
----
gcc3 -fgnu-runtime main.m printer.m -o test
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177 FAX: (785) 864-5700
==================================
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.