attempting to build parser on Windows
Ian Roxborough
irox@redhat.com
Tue Feb 19 15:19:00 GMT 2002
Hi Aurelian,
There is no support for building Source-Navigator with
gcc on Windows. There will be in the future, this would
probably be the next "major" piece of work I do to SN
(unless somebody is going to beat me to it).
Ian.
Aurelian Melinte wrote:
>
> hello,
>
> sorry to bother you with a problem about a product that has been stopped,
> but I cannot find useful information on the list (I am not currently
> subscribed but I checked the archives)
>
> who can answer a short answer about using the SDK on Windows? I cannot
> manage to link with the libraries provided, obviously I am missing
> something. As soon as I call an sdk function, say, sn_reset_column() a
> bunch of Windows specific symbols are not resolved (see below).
>
> I am using
> SN50-010322 Windows,
> CYGWIN_NT-5.0 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown
> gcc version 2.95.3-5 (cygwin special)
>
> Below are the Makefile and the output.
>
> Best regards,
> A.
>
> #
>
> SNSDK = /cygdrive/c/Program\
> Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk
>
> LIBS = -L$(SNSDK)/lib -lm -lfl -lsnptools -ldbutils -lpafdb -lutils -ltcl81
> CCOPTS= -I$(SNSDK)/include
>
> all: jbrowser
>
> jbrowser: pipe.o log.o
> $(CC) $(CCOPTS) -o $@ $+ $(LIBS)
>
> .c.o:
> $(CC) $(CCOPTS) -c -o $@ $<
>
> .PHONY: clean
> clean:
> rm *.o
>
> Here's what I get:
>
> gcc -I/cygdrive/c/Program\
> Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/
> include -o jbrowser pipe.o log.o -L/cygdrive/c/Program\
> Files/SN50-010322-Window
> s/H-i686-pc-cygwin/share/sdk/lib -lm -lfl -lsnptools -ldbutils -lpafdb
> -ltcl81 -
> lutils
> /cygdrive/c/Program
> Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib
> snptools.a(snptools.obj.b): In function `sn_getopt':
> f:\work\SN50\01031:35: undefined reference to `_assert'
> /cygdrive/c/Program
> Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib
> snptools.a(snptools.obj.b): In function `sn_process_options':
> f:\work\SN50\01031:106: undefined reference to `_assert'
> /cygdrive/c/Program
> Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib
> snptools.a(snptools.obj.b): In function `sn_error':
> f:\work\SN50\01031:4: undefined reference to `_iob'
> f:\work\SN50\01031:7: undefined reference to `_iob'
> /cygdrive/c/Program
> Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib
> snptools.a(snptools.obj.b): In function `sn_message':
> f:\work\SN50\01031:384: undefined reference to `_iob'
> f:\work\SN50\01031:387: undefined reference to `_iob'
More information about the Sourcenav
mailing list