From: mattrud AT aol DOT com (MATTRUD) Newsgroups: comp.os.msdos.djgpp Subject: Multiple object files Date: 5 Feb 1998 04:38:32 GMT Lines: 35 Message-ID: <19980205043801.XAA06728@ladder03.news.aol.com> NNTP-Posting-Host: ladder03.news.aol.com Organization: AOL http://www.aol.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I have these two source files: *;return0.asm, compiled with NASM *;command line: nasm -fcoff return0.asm *; *global _return0 *_return0: xor dx, dx * xor eax, eax * ret and *//ret0.cpp, compiled with GCC and linked to return0.o *//command line: gcc ret0.cpp return0.o -lgpp *// *//#include *//int main() *{ * * * int i = extern return0(); * * cout<