swarm-support
[Top][All Lists]
Advanced

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

Swarm Test programs: Compile command followup


From: Paul Johnson
Subject: Swarm Test programs: Compile command followup
Date: Wed, 15 Sep 1999 13:32:44 -0500

I'm working on these little test programs in Swarm and I find I have to
make a couple of changes compared to what Marcus uses.  I have to insert
-D_GNU_SOURCE and also -I$SWARMHOME/include/swarm and
-L$SWARMHOME/lib/swarm.  The following works at the bottom of the file,
in Emacs it uses this compile command:

Local Variables:
compile-command: "$SWARMHOME/bin/libtool-swarm --mode=link gcc
-D_GNU_SOURCE -o integermap -g -Wno-import  -I$SWARMHOME/include
-I$SWARMHOME/include/swarm -L$SWARMHOME/lib  -L$SWARMHOME/lib/swarm
MapIntegerIndex.m -lswarm -lobjc "
End:
*/

Is there something wrong with my install of swarm 2.0 that requires me
to insert the include/swarm and lib/swarm paths?

Followup emacs question: If I change the compile-command, how do I get
Emacs to recognize it without closing the file and opening it up again?

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.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]