Mail Archives: djgpp/2001/06/21/12:07:41
Jean-Marc DAUMONT (daumont AT c2i DOT net) wrote:
: I try to link a library to produce an EXE file. Here is the command line at
: the prompt:
: gxx demo.c -o demo.exe -libmidas.a
: I get the following error line:
: f:/djgpp/bin/ld.exe: cannot find -libmidas.a
: collect 2: ld returned 1 exit status
: I've defined the PATH and DJGPP variables in the 'variables environment
: panel'
: I run Win2000.
: I've also a problem when I try to run RHIDE. I get the message: 'DJDIR has
: not been set .../... '
: When I check the djgpp.env file, I can see that DJDIR is mentioned in it...
: Thanks a lot if you help me. You can answer in FRENCH, NORWEGIAN or ENGLISH
: in order of preference.
French: Il y a une librarie qui s'appelle "libibmidas.a.a"? Peut-etre
il y a une librarie qui s'appelle "libmidas.a"? Si c'est comme ca, il
faut ecrire "-lmidas" pas "-libmidas.a". Je crois.
Svenska: Kan inte norska så du får hålla tillgodo med svenska. Har du
ett bibliotek som heter "libibmidas.a.a"? Kanske du har ett som heter
"libmidas.a". Om det är så måste du skriva ""-lmidas" och inte
"-libmidas.a". Tror jag.
English: Left as an exercise for the other readers.
Right,
MartinS
- Raw text -