Ar is part of the GNU binutils package. DJ Delorie has updated the binary
version of binutils to the 2.10 (the latest) the file name is bnu210b.zip.

This is from the manual page for ar.

        "The GNU ar program creates, modifies,  and  extracts  from archives. An
archive is a single file holding a collection   of other files in a structure
that makes it possible to retrieve the original individual files (called
members of the  archive).

        The original files' contents, mode  (permissions),  timestamp,  owner,  and
group are preserved in the archive, and may     be reconstituted on extraction.

        GNU ar can maintain archives whose members have names of any length;
however, depending on how ar is configured on your      system, a limit on
member-name length may be imposed (for compatibility with archive formats
maintained with other   tools).
        If it exists, the limit is often 15 characters  (typical of formats related
to a.out) or 16 characters (typical of  formats related to coff)."

Using bash instead of the DOS command.com as your shell makes things with
make MUCH easier. I attached a copy of the makefile I use, I haven't made
many changes, accept basically optimizations. I have a majority of the GNU
utilities that are available for download for DJGPP installed, I'm just
trying to give some suggestions on making things a little easier for anyone
using DJGPP. I'm sure you could remove libmp3lame.a, and just use something
like 'gcc -static $(CC_OPTS) $(CPP_OPTS) $(OBJS) -o lame.exe' or something
like that, that's just off the top of my head, but something like that
should work just fine.

Josh


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark Taylor
Sent: Friday, July 07, 2000 4:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [MP3 ENCODER] Makefile.djgpp



>
> Last night I hacked the lame makefile for DJGPP.
> It's attached to this email
>
> I have tested it with DJGPP 2.03, GCC 2.95 (19990728 release),
> the DJGPP port of GNU make 3.78.1 and lame 3.85 beta.
>

Thanks!

I just added Makefile.DJGPP to the project.

One question:  it looks like you also need "ar.exe"?
Does this come with DJGPP?

The Makefile you sent follows the linux version and first builds
libmp3lame.a (using ar) and then compiles LAME.EXE against this
library.  For the Makefile.DJGPP, we could skip this step and
compile LAME.EXE directly, just to remove the need to have ar.exe?

Mark


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Makefile

Reply via email to