swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Gentoo Objective C problems (compiling swarm)


From: Paul Johnson
Subject: Re: [Swarm-Support] Gentoo Objective C problems (compiling swarm)
Date: Thu, 14 Jul 2005 09:20:00 -0500
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

Please make a more complete report on what you did to cause this problem. In particular, give your complete configure statement, which Swarm version are you trying to build, and so forth.

I don't know gentoo, but we need to get to the bottom to find out what is wrong with your compiler.

I have a simple Objective C "hello world" program here: Please test it out.

http://www.ku.edu/~pauljohn/SwarmFaq/WorkingExampleCode/Objc_HelloWorld.tar.gz

If that does not work, you will need to do whatever is necessary to reinstall gcc with objective C support. I see below you have the shared object libraries, but that does not mean you have the development materials required. You have only the part needed to run objc programs. On my system, I have the development information (headers) is in

/usr/lib/gcc/i386-redhat-linux/4.0.1/include/objc

In there, I have:

encoding.h  NXConstStr.h  objc-decls.h  objc-list.h  Protocol.h  thr.h
hash.h objc-api.h objc.h Object.h sarray.h typedstream.h

I don't use the -x option with gcc, I suggest you don't use it either.

Webb Sprague wrote:
Hi all,

I am running gentoo trying to install swarm, but make craps out with
the following:

 gcc: NXConstStr.m: Objective-C compiler not installed on this system

I *have* installed gcc with the right use flag, and (to prove it) I
have the following in my tree:

$ locate libobj | grep -v swarm
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libobjc.so.1.0.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libobjc.so.1
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libobjc.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libobjc.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libobjc.a

However, gcc -x objective-c SwarmWhatever.m  craps out with:
gcc: language objective-c not recognized

Any Gentoo / Swarm folks out there who can help?
Thanks so much.
W

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support


--
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


reply via email to

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