[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: problems compiling objective c
From: |
Juan A. Rodriguez |
Subject: |
RE: problems compiling objective c |
Date: |
Wed, 20 Feb 2002 10:04:57 +0100 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of Paul Johnson
> Sent: martes, 19 de febrero de 2002 16:22
> To: address@hidden
> Subject: Re: problems compiling objective c
>
>
> 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 didn't need to do 1,2,3. Step 4 made the fix.
I reckon that some people might come up against the same problem, so it's a
good idea to make the solution available in the FAQ.
Thanks.
jar.
>
> 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.
>
==================================
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.