Wingz add-ins - how to write

Wingz add-ins - how to write

Post by Adam Goodm » Sat, 05 Mar 1994 01:47:30

I need to write add-ins in c for wingz:
anybody have any experience/suggestions for
tools, methods etc...

1. Errors compiling Wingz 1.4 Add-ins (Linux 1.3.99, GCC 2.6)

I use the Wingz spreadsheet under a SunOs 4.1.3 at work, and am trying
to set up a similar environment on my Linux system.  To do this I need
to compile Wingz external add-ins.

(Nice spreadsheet by the way. See the homepage at:

The problem is that I am unable to link after compiling.  The add-in
code has no 'main', as it is in a file $WINGZ/lib/libwztools.a.  On
SunOs, doing a:

gcc -O -I$(WINGZ)/include -c TestFunc.c -o TestFunc.o
gcc -O -I$(WINGZ)/include -o great_zot TestFunc.o \
       -L$(WINGZ)/lib -lwztools -lm            

works great, but under Linux the link fails with a message like:

/usr/lib/crt1.o (...) undefined symbol 'main'

'nm' shows 'main' as being defined in $WINGZ/lib/libwztools.a, so
I am at a loss to how to get this to compile.

        Linux Kernel:   1.3.99
        Wingz version:  1.4
        GCC version:    2.6

Any hints would be greatly appreciated.

Shaun Lawson           Tel:    [+81]3-5571-7388
Assistant Vice Pres.   WWW:

2. script to separate characters of a line in a file

3. Communicator dies on add-ins

4. XFree86 3.1 and Diamond Viper VLB/CrystalScan prbs

5. Best way to write plug-ins?

6. Help with shared libs

7. patch 16/38: CLIENT: add ->setup_{write,commit}() for async write, part 1

8. Crashing X locks screen and keyboard

9. patch 17/38: CLIENT: add ->setup_{write,commit}() for async write, part 2

10. REPOST patch 15/38: CLIENT: add ->setup_{write,commit}() for async write, part 1

11. REPOST patch 16/38: CLIENT: add ->setup_{write,commit}() for async write, part 2

12. : adding counters to count bytes read/written

13. Permission Woes - can't add write permission