Article View: comp.sys.ibm.pc.programmer
Article #1131linking with Borland-C 2.0
From: Dale Wyttenbach
Date: Wed, 03 Apr 1991 16:30
Date: Wed, 03 Apr 1991 16:30
26 lines
1290 bytes
1290 bytes
I'm trying to compile a program originally written for MSC under BorlandC.
There are approximately 50 object files, which I have compiled with
bcc. I have two questions that are related.
(1)
When I try to link them, I get the error message:
undefined symbol _main in module c0.asm
There *is* a main() defined in one of the source files.
(2)
I have tried
to compile the program both with and without Borland's fancy enviroment.
I actually prefer not to use it, because I'm used to the Unix
enviroment (make, etc). When I try to link from a makefile with tlink,
it bombs because the command-line arguments are too long. Is there any
way around this?
Thanks in advance for any clues,
dale
--
Dale Wyttenbach | We all shine on,
wytten@cs.umn.edu | like the moon, the stars and the sun.
| --John Lennon
Technical Details
Message-ID:
<1991Apr3.163007.4958@cs.umn.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!cs.umn.edu!wyttenShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!cs.umn.edu!wytten From: wytten@cs.umn.edu (Dale Wyttenbach) Newsgroups: comp.sys.ibm.pc.programmer Subject: linking with Borland-C 2.0 Message-ID: <1991Apr3.163007.4958@cs.umn.edu> Date: 3 Apr 91 16:30:07 GMT Organization: University of Minnesota, Minneapolis, CSci dept. Lines: 26