> Hello, I'm new to Xforms and I have some simple questions. Should I be
> able to compile the xxx.c code on it's own? Tried that and it doesn't
> work. ...
It should compile to an object file (xxx.o) separately but it won't
create a valid executable. It does not supply a main() function. To
get a main(), select the Emit Main option in the fdesign menu and then
save. You will then have three C source files:
xxx_main.c
xxx.c
xxx.h
You should be able to compile and link the xxx_main.c and xxx.c files
in the standard manner. For instance
gcc -c xxx_main.c
gcc -c xxx.c
gcc -o xxx xxx_main.o xxx.o -lforms -lX11 -lm
should work if things are in the Standard Places.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/