From: scottc AT net-community DOT com (Scott Christley) Subject: Re: Redefining main() 11 Dec 1996 20:31:39 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199612111828.KAA12332.cygnus.gnu-win32@stetson.net-community.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: scottc AT net-community DOT com X-Mailer: Windows Eudora Light Version 1.5.2 Original-To: Cygnus GNU-WIN32 Discussion Original-Sender: owner-gnu-win32 AT cygnus DOT com Ok, well some additional work shows that the reason ld isn't finding the main() in libgnustep-base.a is because my test program doesn't reference anything within the gnustep-base object file where main is defined. So ld is not including that object file into the executable. I discovered this because when I compiled a program which did force inclusion of that object file then the linking went fine and it found gnustep-base's main. So maybe the real question is, what ld option to I pass to force it include an object file? Is there some way to tell ld that it should automatically include all object files in a library? Scott - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".