Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!wuarchive!uunet!kgw2!kgw1!dennisg From: dennisg@kgw1.xetron.COM (Dennis Glatting) Newsgroups: comp.sys.next Subject: Re: Using subprojects in IB. Message-ID: <2193@kgw2.XETRON.COM> Date: 24 Jun 91 18:23:51 GMT References: <6586@ns-mx.uiowa.edu> Sender: root@kgw2.XETRON.COM Reply-To: dennisg@Xetron.COM Organization: Xetron Corporation, Cincinnati Ohio Lines: 36 Nntp-Posting-Host: kgw1 In article <6586@ns-mx.uiowa.edu>, tdawson@shumun.weeg.uiowa.edu (Tim Dawson) writes: |> Hello, |> |> I am working on a project with a number of subprojects. I have gotten most of |> the kinks worked out in the system except for two questions and I was wondering |> if anybody could help me. |> |> 1) How do I use gdb properly? It seems that I have to copy the source files |> from the subproject directory to the root project directory in order to debug |> any objects. This is very inconvenient and detracts from the modularity that |> subprojects offer. Is there any way around this? |> check into the gdb "dir" command. |> 2) When I copy my compiled program into a directory aside from my home project |> directory, menu items which are connected to the subproject do not function. |> It seems as if the nib files are not being loaded. I have tried this with |> files created with both make and make debug. I have tried make install. I |> have tried using strip on all of these. Nothing works. This is of vital |> importance as the program is useless without the functions imbedded in the |> subprojects. it can't find them. they mustn't be in the app? are they in the executable? if not then where are they being loaded from? check into making your project a .app then use NXArgv[0] to find the directory. |> |> Thanks for any help. |> |> ..tim -- ..!uunet!kgw2!dennisg | Dennis P. Glatting dennisg@Xetron.COM | so?