Path: utzoo!utgpu!cunews!cognos!jimp From: jimp@cognos.UUCP (Jim Patterson) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: DOS gcc (dj1bin) problems, malformed input file error Keywords: GNU Message-ID: <9384@cognos.UUCP> Date: 1 Mar 91 14:40:55 GMT References: <61762@masscomp.westford.ccur.com> Reply-To: jimp@cognos.UUCP (Jim Patterson) Organization: Cognos Inc., Ottawa, Canada Lines: 22 In article <61762@masscomp.westford.ccur.com> bobg@masscomp.westford.ccur.com (Bob Getz) writes: >I recently got the GNU C++ for DOS via ftp from grape..... >I tried to compile a very simple test program and got the following: > ld: malformed input file (not rel or archive) test.cpp >path c:\;C:\DOS;C:\BIN;C:\UEMACS;E:\TC\BIN;e:\td;e:\tasm;e:\usr\local\bin >Please, help me!!!! It must be something simple. Thanks, in advance Try taking \TC\BIN out of your path. It appears that Turbo C and Gnu CC both use the "usual" names for the compiler passes e.g. CPP, so if your path points to Turbo C first it will run some passes out of the wrong directory. I've got a similar setup (Compaq with Turbo C) and I noticed a similar problem. I don't know how I'm going to get TC and GCC to coexist yet. -- Jim Patterson Cognos Incorporated UUCP:uunet!mitel!cunews!cognos!jimp P.O. BOX 9707 PHONE:(613)738-1440 x6112 3755 Riverside Drive NOT a Jays fan (not even a fan) Ottawa, Ont K1G 3Z4