www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/10/08:20:55

Date: Mon, 10 Jun 1996 08:08:59 -0400
From: dj (DJ Delorie)
Message-Id: <199606101208.IAA05262@delorie.com>
To: robert DOT fremin AT mailbox DOT swipnet DOT se
CC: djgpp AT delorie DOT com
In-reply-to: <31b88366.73050@nntpserver.swip.net> (robert.fremin@mailbox.swipnet.se)
Subject: Re: I cannot configure DOS-based DJGPP v2 to compile anything!!!

> c:\djgpp\bin\gcc.exe -Ic:\djgpp\include\ -Lc:\djgpp\lib\ -Bc:\djgpp\bin\ -m486
> %1 %2 %3 %4

When you use -B, it overrides the location of crt0.o.  Since crt0.o is
not in c:\djgpp\bin, it fails.  The command line should look like
this:

	gcc -m486 hello.c -o hello.exe

Make sure you set the DJGPP environment variable as per the README.

- Raw text -


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