swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems compiling objective c


From: Paul Johnson
Subject: Re: problems compiling objective c
Date: Tue, 19 Feb 2002 09:21:37 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205

I think you need the swarm bin directory in the path in front of the Cygwin bin directory. It is failing because it finds gcc from cygwin, not gcc from swarm. And they arent' the same!

If somebody posts a 1-2-3 list of steps to install in MS Windows, and tests it out and confirms it works for both Obj-C and Java, I'll add it to the swarm faq. I don't use windows so much these days and so it is better if somebody else do this. My preliminary take is this:

1. Remove Swarm-2.1.1

2. Install the current Cygwin environment

3. Unzip Swarm-2.2 in a place like C:\Swarm-2.2

4. Fiddle you MS windows environment as follows
??? set SWARMDIR (not SWARMHOME, right? is there a common way across all versions of windows?

 ??? edit the path so Swarm-2.2\bin is in there before Cygwin\bin

I will post in the FAQ if somebody finalizes and checks this for me

Juan A. Rodriguez wrote:
Hi all,
I downloaded and installed Swarm-2.2 pretest 5 in a Windows 2000 machine.
Everything seems to work fine for java since I managed to compile and run
jheatbugs and jmousetrap. However I haven't managed to compile Objective C
programs. I get an error from the compiler saying that Objective-C is not
installed. For instance:


gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Werror   -DAPPNAME=asm -DAPPV
ERSI
ON=2.2 address@hidden -DDLL  -I/cygdrive/c/Swarm-2.2/includ
e Agent.m
gcc: Agent.m: Objective-C compiler not installed on this system


I checked whether that's true and I found that the Objective-C libraries and
compiler are within $MY_SWARM_HOME/lib/gcc-lib/i686-pc-cygwin/3.0.3/. I
guess that I've got tell the compiler where such libraries are but I wonder
whether I've got to do it within the configuration files in
$MY_SWARM_HOME/etc/swarm

Thanks.



Juan A. Rodríguez-Aguilar




--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]