ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: Breezy won't compile ufsd (aka Paragon NTFS for Linux) custom kernel

Subject: Re: Breezy won't compile ufsd (aka Paragon NTFS for Linux) custom kernel module
From:
Date: Sun, 16 Oct 2005 00:00:38 -0700
On Sun, Oct 16, 2005 at 08:35:09AM +0200, Gábor Iglói wrote:
> Thank you Daniel for your great help. Paragon script really doesn't
> respect CC=3.4 so I did another dirty hack (pointing temporarily gcc
> -> gcc-3.4 and g++ -> g++-3.4) and now it works - the module can be
> inserted correctly. At last.

Hmm, according to this script that you included below...

> check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >
> /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
> gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1)
> gcc_minor := $(shell echo __GNUC_MINOR__ | $(CC) -E -xc - | tail -n 1)

...the script _does_ honor the $CC variable. You must export CC=gcc-3.4
not CC=3.4.

Cheers,
-- 
Daniel T. Chen            crimsun@xxxxxxxxxx
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
<Prev in Thread] Current Thread [Next in Thread>