Compiling libmad standalone static lib

Aruna VIjay <[email protected]> Tue, 2 Sep 2014 16:48:22 +0530
Newsgroups gmane.comp.audio.mad.devel
Message-ID <CAKx=R2jU=L=MONUzjgt5L4qgA_aU_V1fnnuKmUOEV45GgNE19g@mail.gmail.com>
--f46d04428ef0046ccd05021347f2
Content-Type: text/plain; charset=UTF-8

Dear All,

 I am just trying to compile libmad to port in DSP. I am struggling to
develope it as a standalone lib.

 i added all the .c. .h.data file in the eclipse IDE -GCC compiler

flags -c -Wall -static -g -O -fforce-addr -fthread-jumps -fcse-follow-jumps
-fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2

i used the minimad.c as a wrapper to this application since either i get
segmentation fault or only noise without the flags.
   Anybody give any idea how to proceed.

note:The wrapper works well with the PC build. So i have problem only with
my static library.

Thanks in advance.
Vijay Mukilan S

--f46d04428ef0046ccd05021347f2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div>Dear All,<br><br></div>=
=C2=A0I am just trying to compile libmad to port in DSP. I am struggling to=
 develope it as a standalone lib.<br><br></div>=C2=A0i added all the .c. .h=
.data file in the eclipse IDE -GCC compiler<br>
<br></div>flags -c -Wall -static -g -O -fforce-addr -fthread-jumps -fcse-fo=
llow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule=
-insns2<br><br></div>i used the minimad.c as a wrapper to this application =
since either i get segmentation fault or only noise without the flags.<br>
</div>=C2=A0=C2=A0 Anybody give any idea how to proceed. <br><br>note:The w=
rapper works well with the PC build. So i have problem only with my static =
library. <br><br></div>Thanks in advance.<br></div>Vijay Mukilan S<br></div=
>

--f46d04428ef0046ccd05021347f2--