[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logrotate 3.7-2 and m68k

On 2004-08-03 Wouter Verhelst <wouter@grep.be> wrote:
> On Mon, Aug 02, 2004 at 11:51:17PM +0200, Wouter Verhelst wrote:
> > I'm preparing to perform a build with gcc-3.4 on another m68k host,
> > running unstable; I'll follow up with the results ASAP.

> Hm. It didn't build, but that's probably because it doesn't use whatever
> I specify as CC:

> cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7\" -Wall -g -O2
> -D_FILE_OFFSET_BITS=64   -c -o config.o config.c
> That should start with `gcc-3.4' instead of just `cc', and yes, I've set
> CC. How do I make the logrotate build system use the right compiler?

Works for me.

CC=gcc-3.3 dpkg-buildpackage -uc -us -rfakeroot -B -d
/usr/bin/make RPM_OPT_FLAGS="-Wall -g -O2" VERSION="3.7"
make[1]: Entering directory `/home/ametzler/logrotate-3.7'
gcc-3.3 -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7\" -Wall -g -O2
-D_FILE_OFFSET_BITS=64   -c -o logrotate.o logrotate.c

How did you try it?
               cu andreas
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

Reply to: