This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
making lib files?
- To: help-gcc at gnu dot org
- Subject: making lib files?
- From: "Pina Colada dude" <pinacolada at margaritaville dot com>
- Date: Thu, 19 Aug 1999 23:48:12 -0700
- Newsgroups: gnu.gcc.help
- Organization: MindSpring Enterprises
- Reply-To: "Pina Colada dude" <pinacolada at margaritaville dot com>
- Xref: wodc7nx0 gnu.gcc.help:606
I have a source file containing a c++ class implementation that I want to
convert into a reusable library. I am trying to generate the .o object file
and then convert it to the .lib file. Any ideas on how this can be done ?
Whenever I try to compile the file I get a function "main" was not defined
even if I put an "extern void main(void)" into the file ! I am using GCC
v2.81
TIA,
PCD