Mail Archives: djgpp/1999/06/04/12:39:29
Use a makefile.
Mark Phillips wrote:
> Hi I'm having some linking problems. I use this batch file to link which
> just says this:
>
> gxx -o play.exe main.o sample.o hardware.o irq.o mix.o decode/amulaw.o
> decode/au.o decode/decomp.o decode/pcm.o decode/read.o -lalleg
>
> It always worked before, but I've just added "mix.o" to the list, and now
> I get this message:
>
> c:/djgpp/bin/ld.exe: cannot open -la: No such file or directory (ENOENT)
>
> I'm assuming that my command line has gotten too long and the "-lalleg"
> has been chopped down to "-la". Anyone know how I can fix this? Thanks.
>
> Mark
- Raw text -