ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/08/14:30:07

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: geoffr2 AT aol DOT com (Geoff Robinson)
Newsgroups: comp.os.msdos.djgpp
Subject: completely stupid, very beginners' linking question
Date: 8 Apr 2002 11:24:21 -0700
Organization: http://groups.google.com/
Lines: 17
Message-ID: <978b35e2.0204081024.76081d7@posting.google.com>
NNTP-Posting-Host: 192.31.106.34
X-Trace: posting.google.com 1018290261 8413 127.0.0.1 (8 Apr 2002 18:24:21 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 8 Apr 2002 18:24:21 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

For the life of me, I cannot figure this out with djgpp.

I'm trying to compile a file add link them against a bunch of archive
files.  Currently, I am compiling them as some legacy code was
compiled on linux.  It is not working.

gpp -I. -I<mypath> -o MyProgram.sim MyProgram.o <library file>
<library file> <library file> -Lcompilerpath\lib -ldl -lm

I'm getting a "cannot execute command" error.  Very vague.

Does anyone know the proper way to link these things together?

thanks in advance,
Geoff

- Raw text -


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