delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/06/22:10:30

From: NMair AT aol DOT com
Date: Sat, 6 Jan 1996 22:06:52 -0500
Message-ID: <960106220650_85100172@emout04.mail.aol.com>
To: djgpp AT delorie DOT com
Subject: under scores on functions

When I create a library using ar functions within the library
do not start with an underscore. I get undefined functions
when I link to this library.
I use [ ar -rcv files.o libfile.a] to create a library.
a r[ -vt libfile] shows that the functions in libfile do not have
underscores.
When I use a function in the library I get an undefined symbol error.

What am I doing wrong.

I must apologize  in advance. There will be 2 messages following this
that will be sent. I have accidently added them to be sent later.  If anyone
knows how to delete mail tagged to be 'sent later' under aol, E-mail me
before I am forced to send them. 

Again SORRY for the wasted bandwidth.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019