Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Help With A Compiling Exercise

Name: op !!N+IUAzxa1c6qkOn 2012-03-27 3:43

Hey folks. As an exercise, i'm trying to make a build of the ALAC codec on a 64bit Windows computer. I'm using GCC via MinGW, and actually have no idea where to start.

The source to ALAC (Apple's Lossless Encoder) is here -

http://svn.macosforge.org/repository/alac/trunk/


I'm trying to build the codec (as stated). How would i accomplish this? Any help is greatly appreciated.

Name: Anonymous 2012-03-27 3:45

Windows
Stopped reading there.

Name: Anonymous 2012-03-27 3:46

Apple
Stopped reading there.

Name: Anonymous 2012-03-27 3:59

ALAC
Stopped reading right there.

Name: Anonymous 2012-03-27 4:02

op here, lost my trip.

Just bumping.

Name: Anonymous 2012-03-27 4:13

Hey folks
Stopped reading there.

Name: Anonymous 2012-03-27 4:31

Help
Stopped reading right there.

Name: Anonymous 2012-03-27 4:43

>>1
Well, you'll need to source code and a way to build it. And this depends on what the ALAC people use to build their code. On linux systems, people usually use a two step process, where the user will run a configure script, which will generate a makefile for the user's machine using the set of compilers and such installed on the user's machine. The user can then investigate the make file and then run it.

If this is your first time doing something like this, you might want to try with something small and simple, with few or no dependencies.

Name: Anonymous 2012-03-27 4:51

>>8

Thanks. the only compiling/coding i've ever done so far, i started a week ago learning C (using the K&R's 'The C Programming Language").

I'm still working on that and will be for a while, but i wanted to try and do a small compile of this for my windows box. I have compiled my kernel on my linux box, so i'm not *entirely* new to it all i guess.

The makefile included with the source code on this project starts with -


# libalac make

CFLAGS = -g -O3 -c
LFLAGS = -Wall
CC = g++


Does that help at all? Is that a reference to the GNU C/C++ Compiler?

Name: Anonymous 2012-03-27 4:59

>>9
yeah, those are textual variables that expand to commands (that you yourself could type if you wanted to). You might want to try to compile some stuff by hand at the command prompt. And then learn how to write a Makefile for your own small projects to automate the process. It's easier to get this stuff on the small scale. Makefiles for large projects can become very complicated.

Name: Anonymous 2012-03-27 5:06

>>10

Ok, thanks anyways.

Name: Anonymous 2012-03-27 5:34

!!

Stopped reading right there

Name: Anonymous 2012-03-27 20:55


Stopped reading there.

Don't change these.
Name: Email:
Entire Thread Thread List