[comp.sys.mac.programmer] MPW Linker woes

kyt@cunixa.cc.columbia.edu (Kok Yong Tan) (03/14/91)

I'm having problems with a program I ported over to MPW.  It is written in C++
and compiles fine under Unix running AT&T Cfront Version 2.0.  It is a
completely enclosed program in that it does not include any header files that
do not come with the standard C++ package (i.e. no #include "blah.h"-type
statements, only #include <iostream.h>-type statements).

When I try to compile using a makefile created with the CreateBuild script in
MPW, I get a "File not found" error from the Linker.  It does NOT give me any
more information that that (such as WHICH file is not found), even with the -p
options.  On using the -p options with CPlus (Apple's version of CC), it shows
that the C++ preprocessor and the subsequent call to the C compiler are running
fine.  It's only the Linker that keeps complaining.

I then tried a simple "Hello world" test program which included the same header
files as my offending source code.  This test program compiled and executed
fine under MPW.  Can anyone give me pointers as to WHAT the Linker is
complaining about?  Please email me as my NetNews reader is presently unstable
and I may not be able to get back on to read any replies.  Thanks.


===============================================================================
Kok-Yong Tan can be reached at:      | "Oscularis fundamentum!"
InterNet: kyt@cunixa.cc.columbia.edu |	     	       - Annoyed Latin scholar
CompuServe: 75046,256                | I speak for myself and disclaim all ties
America Online: lallang              | with regard to this message.
===============================================================================