delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/27/21:59:57

Date: Tue, 27 Jan 1998 18:59:00 -0800 (PST)
Message-Id: <199801280259.SAA06230@adit.ap.net>
Mime-Version: 1.0
To: dmt AT bigfoot DOT com (Jeff W./DMT), djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: using OBJ files with other languages?

At 11:57  1/27/1998 GMT, Jeff W./DMT wrote:
>I'm trying to write some code in C/C++ and compile it as an object
>file so that I can link it with my turbo pascal code.  I did it once,
>but I don't have the source code to study from since my hard drive
>crashed (again =(.  Sooo, let's say I have a function DoSomething in
>C/C++, and a global variable "Variable".  How would I compile the
>c/c++ code so thta it links properly?  Does it in anyway relate to the
>"extern" keyword or is thta just retarded? 
Trying to link DJGPP-generated C/C++ code with Turbo Pascal code is a lost
cause and you might as well give up. If you aren't using DJGPP (and your
posting implies that you are not), then please don't post to its newsgroup.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019