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

CFLAGS in Hurd Build



Hi,

I've come across this while doing cross-compiler Hurd build. Is there a more convenient way to override the CFLAGS value other than editing the Makeconf file?

--Ian

> 14. rebuild hurd from scratch:
>
>  rmdir build/hurd.build
>  mkdir build/hurd.build
>  cd build/hurd.build
>
>  # manually fix a bug in ../hurd/Makeconf:
>  # edit ../hurd/Makeconf: comment out definition of CFLAGS
>  #   # CFLAGS=-Wall -g -O3
>
>
>  # remember: CFLAGS="-march=i586 -O2 -fomit-frame-pointer"
>  # if you want debug infos: -g -Winline (and probably -O)
>  #    because of hurd_fail being inline...
>
>  ../hurd/configure --build=i386-unknown-freebsdelf --host=i586-pc-gnu \
>                    --prefix=/gnu --disable-profile
>  (ignore warning about ELF interpreter /lib/ld.so not found...)
>  gmake    << takes a long time, ignore all warnings...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ian Duggan                    ian@ianduggan.net
                              http://www.ianduggan.net



Reply to: