Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!gacvx2.gac.edu!scott From: scott@erick.gac.edu (Scott Hess) Newsgroups: comp.sys.next Subject: Using cc++ with subprojects Message-ID: Date: 22 Feb 91 13:15:02 GMT Organization: Gustavus Adolphus College Lines: 30 Nntp-Posting-Host: erick.gac.edu I've been trying to get a fairly large program to work using cc++ (g++, of course). I'm having a problem with the collect program, though. It's segmentation faulting. The neato thing is that I don't use any c++ stuff, yet. All I did was convert the c compiler over to cc++, and extern out the required header files, and fix various assigns and the like to explicit coercing, rather than implicit. So, there really shouldn't be a problem, as at least one app (CalculatorLab++) works just fine. The only real difference I can see, besides size considerations, is that my program uses subprojects. Why do I think this? Subprojects are done using a different type of object file, I believe, with multiple object files linked together before the last "real" link. I assume that collect is supposed to go through and look for stuff in these files, and maybe it's not set up to handle these different object files? Or something? Has anyone gotten cc++ to work with subprojects? If you haven't, please drop me a line so I can at least know I'm not seeing something totally different from that . . . Later, -- scott hess scott@gac.edu Independent NeXT Developer GAC Undergrad "Tried anarchy, once. Found it had too many constraints . . ." "Buy `Sweat 'n wit '2 Live Crew'`, a new weight loss program by Richard Simmons . . ." Brought to you by Super Global Mega Corp .com