public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems with gcc and mSQL API
@ 1999-12-03 14:52 Thomas Weber
  1999-12-04  7:01 ` Art Haas
  1999-12-31 22:24 ` Thomas Weber
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Weber @ 1999-12-03 14:52 UTC (permalink / raw)
  To: help-gcc

Help!

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.

Regards,

Thomas


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with gcc and mSQL API
  1999-12-03 14:52 Problems with gcc and mSQL API Thomas Weber
@ 1999-12-04  7:01 ` Art Haas
  1999-12-31 22:24   ` Art Haas
  1999-12-31 22:24 ` Thomas Weber
  1 sibling, 1 reply; 4+ messages in thread
From: Art Haas @ 1999-12-04  7:01 UTC (permalink / raw)
  To: help-gcc

"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
###############################

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Problems with gcc and mSQL API
  1999-12-03 14:52 Problems with gcc and mSQL API Thomas Weber
  1999-12-04  7:01 ` Art Haas
@ 1999-12-31 22:24 ` Thomas Weber
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Weber @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

Help!

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.

Regards,

Thomas


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with gcc and mSQL API
  1999-12-04  7:01 ` Art Haas
@ 1999-12-31 22:24   ` Art Haas
  0 siblings, 0 replies; 4+ messages in thread
From: Art Haas @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

"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
###############################

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-03 14:52 Problems with gcc and mSQL API Thomas Weber
1999-12-04  7:01 ` Art Haas
1999-12-31 22:24   ` Art Haas
1999-12-31 22:24 ` Thomas Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).