[Top][All Lists]

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

Re: [Qemu-devel] [PATCH v2] Drop --whole-archive and static libraries

From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH v2] Drop --whole-archive and static libraries
Date: Sun, 3 Jan 2010 12:31:15 +0000

2009/12/31 Andreas Färber <address@hidden>:
> From: Andreas Färber <address@hidden>
> Juan has contributed a cool Makefile infrastructure that enables us to drop
> static libraries completely:
> Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
> and link those object files directly into the executables.
> Replace HWLIB by HWDIR, specifying only the directory.
> Drop --whole-archive and ARLIBS in Makefiles and configure.
> Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all
> common objects after generating a target-specific header; add dependency
> rules to Makefile and Makefile.target instead.
> v2:
> - Don't try to include /config.mak for user emulators
> - Changes to user object paths ("Quickfix for libuser.a drop") were obsoleted
>  by "user_only: compile everything with -fpie" (Kirill A. Shutemov)

Breaks build:
  CC    i386-softmmu/i386-dis.o
make[1]: *** No rule to make target `/loader.o', needed by `qemu'.  Stop.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]