Mail Archives: djgpp/2000/02/11/07:42:22
Riddler02 AT aol DOT com writes:
> Here are the commands RHIDE uses to build my library:
>
> gcc -g -c maps.cpp -o maps.o
> ar rcs libmaps.a maps.o maps.o
> ... <Lots of code>...
> In maps.cpp, the definitions of these member functions are correct - all the
> arguments match n' everything.
Not a solution for you, I'm afraid, but a suggestion.
Have you tried writing a *really* simple library? Containing one class with
just a constructor and destructor that both just write to cout, say. Then
you could try to link a tiny program to that library and at least confirm
that you can do this at all.
It wouldn't take long and if it didn't work you could post the whole thing
here and get an explanation. It might also help you figure out what's going
wrong with the big version.
Apologies if you've done that sort of thing already; it just sounds as though
you're jumping in at the deep end (to some extent) when it's easier to swim
out from the shallows.
Regards,
Ian
--
Ian Miller, Dorset, UK
The views expressed above are those of the writer and do not represent the
views, policy, or understanding of any other person or official body.
- Raw text -