On Mon, Oct 10, 2005 at 10:33:35AM +0200, Julien Danjou wrote:
> On Mon, Oct 10, 2005 at 07:01:19AM +0530, Kumar Appaiah wrote:
> > Though I realize that you have mentioned relevant stuff in the readme,
> > ps ax does *NOT* show me the compile options I gave. It shows
> > -mtune=i486, while my apt-build.conf says mtune = -mtune=pentium4.
> 
> Which package are you trying to build?
> How is the compiler called by make?

Well, I was trying to build octave, but then I tried it out with
something smaller. Here is the relevant output of ps ax when I compile elinks:

13377 pts/1    T      0:00 /usr/bin/make all

13384 pts/1 T 0:00 gcc -DHAVE_CONFIG_H -I../.. -I../../../src -g -O2
-Wall -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I/usr/include
-I/usr/include/lua50 -I/usr/include -fno-strict-aliasing
-Wno-pointer-sign -c ../../../src/bfu/dialog.c

13385 pts/1 T 0:00 /usr/lib/gcc/i486-linux-gnu/4.0.2/cc1 -quiet
-I../.. -I../../../src -I/usr/local/inc lude -I/usr/lib/perl/5.8/CORE
-I/usr/include -I/usr/include/lua50 -I/usr/include -DHAVE_CONFIG_H
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ../../../src/bfu/dialog.c
-quiet -dumpbase dialog.c -mtune=i486 -auxbase dialog -g -O2 -Wall
-Wno-pointer-sign -fno-strict-aliasing -fno- strict-aliasing -o -

Also, here is my /etc/apt/apt-build.conf:

build-dir = /var/cache/apt-build/build
repository-dir = /var/cache/apt-build/repository
Olevel = -O2
mtune = -mtune=pentium4
march = -march=pentium4
options = " -msse2 -mmmx"
make_options = " -j2"

Note that the march option is ignored.

If you need anything else, please ask me. Thanks a lot.

Kumar
-- 
Kumar Appaiah,
462, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036

Reply via email to