Problems with gcc and mSQL API
Art Haas
arthur.haas@westgeo.com
Sat Dec 4 07:01:00 GMT 1999
"Thomas Weber" <tw@orange-interactive.de> writes:
>
> How do I compile an ansi-c programm so that it can access the
> functions of libmsql.a?
>
> I tried gcc myprog.c libmsql.a but it didn't work.
>
Try something like ...
% gcc -o myprog myprog.c -lmsql
or
% gcc -o myprog myprog.c -L/path/to/msql/library -lmsql
--
###############################
# Art Haas
# (713) 689-2417
###############################
More information about the Gcc-help
mailing list