delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/22/11:00:15

Message-ID: <3B0A7E99.54F21F28@gwdg.de>
Date: Tue, 22 May 2001 16:58:33 +0200
From: Thomas Schmidt <tschmid8 AT gwdg DOT de>
Organization: Institut =?iso-8859-1?Q?f=FCr?= Psychologie, Uni
=?iso-8859-1?Q?G=F6ttingen?=
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: How to include source files?
Reply-To: djgpp AT delorie DOT com

Dear DJGPP people,

We have a question concerning the linking of .c source files. RHIDE
doesn't want to do it even if we add the file to the project and also
add the source path.

We have tried this with a simple "hello_world" program, with the main
.cpp file, a small .h file and the .c source file all in the same
directory. We believe the paths are set correctly.

The "hello_world" program is just a tool of solving the REAL problem, of

course.  The real problem is that DJGPP doesn't recognize (i.e., claims
"implicit declaration" of) two ALLEGRO routines: _install_irq() and
_remove_irq(), both of which are in "c:\djgpp\allegro\src\djgpp\irq.c".
We need them to use the serial port to do brilliant research on visual
perception! However, we believe that there is just something wrong with
our use of the compiler.

I've been working on this problem again and again for weeks - it would
be great if you could help us.

Thank you so much,
Thomas Schmidt.

--
_____________________________________
Thomas Schmidt
University of Goettingen
Institute of Psychology
Gosslerstr. 14
37073 Goettingen, Germany
Phone: +49-551-39-3612
Fax: +49-551-39-3662
e-Mail: thomas DOT schmidt AT psych DOT uni-goettingen DOT de
Homepage: http://kiwi.uni-psych.gwdg.de/home/schmidt/


- Raw text -


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