www.delorie.com/archives/browse.cgi | search |
From: | "Supertheta" <supertheta AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Include and Library Files Error |
Date: | Fri, 10 Dec 1999 01:42:45 -0500 |
Organization: | . |
Lines: | 26 |
Message-ID: | <82q7j2$jt6$1@solaris.cc.vt.edu> |
References: | <82pe7k$6fr$1 AT solaris DOT cc DOT vt DOT edu> <GDY34.892$6_3 DOT 28303 AT dfiatx1-snr1 DOT gtei DOT net> |
NNTP-Posting-Host: | hc652695c.dhcp.vt.edu |
X-Trace: | solaris.cc.vt.edu 944808354 20390 198.82.105.92 (10 Dec 1999 06:45:54 GMT) |
X-Complaints-To: | abuse AT vt DOT edu |
NNTP-Posting-Date: | 10 Dec 1999 06:45:54 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Damian Yerrick" <NOSP AT Musenet@pineight.8m.com> wrote in message news:GDY34.892$6_3 DOT 28303 AT dfiatx1-snr1 DOT gtei DOT net... > > You might not want pc.h if you're using Allegro. > pc.h totally destroys portability. Well, I included it to use the outportb() function, to set some VGA registers. I suppose I could use Allegro's set_color() to achieve the same. > Post the smallest source file that exhibits this error. I was able to detect and fix the problem: I had installed GNU's version of Ada (GNAT?) after DJGPP. The GNAT installation program altered my PATH environment variable so that its own path came *before* that of DJGPP. This meant that when I was trying to run GCC.EXE, it was running the copy that came with Ada, and not that which accompanied DJGPP. Once I reversed the order of the directories in my PATH statement, my C files compiled and linked without error. Some future warning of such a situation may be warranted in the DJGPP documentation, if it does not already exist. Supertheta
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |