Newsgroups: comp.os.msdos.djgpp From: manfred DOT heumann AT uni-bielefeld DOT de (Manni Heumann) Subject: Re: Problem with allego References: <7rbdve$l21$4 AT perki DOT connect DOT com DOT au> <37D9CEDC DOT 24C3A780 AT gtcom DOT net> X-Newsreader: News Xpress 2.01 Date: Sat, 11 Sep 1999 07:42:03 GMT NNTP-Posting-Host: ppp36-116.hrz.uni-bielefeld.de Message-ID: <37da07cc.0@news.uni-bielefeld.de> X-Trace: 11 Sep 1999 09:42:04 +0200, ppp36-116.hrz.uni-bielefeld.de Lines: 35 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <37D9CEDC DOT 24C3A780 AT gtcom DOT net>, krogg DOT no DOT to DOT spam AT gtcom DOT net wrote: >Tim Chmielewski wrote: >> >> When I try to do this: >> >> gcc ex1.c -lalleg >> >> The program hangs. >> >> The allegro files are installed in a directory >> >> D:\djgpp\allegro > >I think this should be like so: > >gcc ex1.exe ex1.c -lalleg > >you have to provide a name for the exe file in the comand. > > > 1. You don't have to provide a name. If you want to, you can do that with the -o option. 2. What do you mean, when you say "the program hangs"? Do you get error messages? Can you compile anything else (like "hello world")? 3. Did you compile Allegro itself? If you did, you should have a compiled ex1.exe. -- Manni