Article View: comp.os.os2.programmer
Article #1946problems in ar in emx 0.8d
From: Ignacy Misztal
Date: Thu, 08 Oct 1992 14:24
Date: Thu, 08 Oct 1992 14:24
24 lines
1440 bytes
1440 bytes
I have compiled several modules in c++ and assembled them in a library using ar rcv libmy.a a1.o a2.o ... The ar program executes ok and the list of its contents shows all members. However, use of this library like: gcc -o m.exe m.cc -lgpp -lmy or gcc -o m.exe m.cc libmy.a -lgpp results in a message about missing functions. The program compiles fine when all object files are given explicitely: gcc -o m.exe m.cc a1.o a2.o .... -lgpp Am I missing something, or is it a bug in 0.8d? Does the same problem exists in 0.8e? On a related question, GNU make does not recognize the following line from SUN make: OBJECTS = $(SOURCES:.cc=.o) Is this a standard make statement? ---------------------------------------------------------------------- Ignacy Misztal E-mail: ignacy@uiuc.edu University of Illinois Phone: (217) 244-3164 1207 W. Gregory Dr. Urbana, IL 61801 ----------------------------------------------------------------------
Technical Details
Message-ID:
<ignacij.718554280@meishan.animal.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!meishan.animal.uiuc.edu!ignacijShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!meishan.animal.uiuc.edu!ignacij From: ignacij@meishan.animal.uiuc.edu (Ignacy Misztal) Subject: problems in ar in emx 0.8d Message-ID: <ignacij.718554280@meishan.animal.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana Date: Thu, 8 Oct 1992 14:24:40 GMT Lines: 28