Mail Archives: djgpp/1994/06/16/06:20:50
Hi all,
I am a very new user of DJGPP, so far I have only experience with
BC3.1 and some knowledge of Unix. I would have many questions, but I
think this was the case of all DJGPP new users and thus I believe
there already is some source of information. So, do any of you know
where I could find some FAQ (larger than that included with DJGPP),
some sort of manual, or any other useful information (if exist)?
BTW, I have already one problem I couldn't work out:
I tried to compile small application in C++ using GRX. I used MAKE
for compilation and linking. However, it didn't work, GCC didn't link
libraries to my code. It looked like MAKE omited parameters -lgrx
and -lgpp. When I typed 'cpp app.cc -o app -lgrx -lgpp' in command
line, everything worked O.K. I had the same problem trying to compile
samples in GRX using MAKE. (I have my environment variables set with
DJGPPSET, I copied libraries and includes of GRX into my DJGPP\LIB
and DJGPP\INCLUDE directories)
Any help?
This was my makefile:
------------------------------------------
CFLAGS=-O -Wall
all : app.exe
app.exe : app
gcc $(CFLAGS) app.o -o app -lgrx -lgpp
coff2exe app
-del app
app.o : app.cc
gcc $(CFLAGS) -c app.cc -o app.o
-------------------------------------------
/------------------------------------------------------------\
| Jan Nepras (student) | University of West Bohemia |
| nepras0 AT jonas DOT zcu DOT cz | Pilsen |
| nepras0 AT hermes DOT zcu DOT cz | Czech Republic |
\------------------------------------------------------------/
- Raw text -