path: root/README
diff options
authorCarl-Daniel Hailfinger <>2009-05-01 16:34:32 +0000
committerCarl-Daniel Hailfinger <>2009-05-01 16:34:32 +0000
commit9abf529387ad68171d76f7bb9a6e665a68d0e891 (patch)
treecce78e1aac631f6f83a0eb155ead46f32878ac31 /README
parent261cafab863e5ac37c7a6f3df24a5db18eb31556 (diff)
Allow compilation on Solaris
Fix compilation on Solaris and tell people how to compile flashrom on Solaris, Darwin/Mac OS X and DragonFly BSD. Thanks to Joerg Schilling and Patrick Georgi for the Solaris part. Corresponding to flashrom svn r452. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Peter Stuge <>
Diffstat (limited to 'README')
1 files changed, 11 insertions, 0 deletions
diff --git a/README b/README
index 70abe0a..b9a253a 100644
--- a/README
+++ b/README
@@ -21,6 +21,17 @@ To build the flashrom utility you need to install the following packages:
* pciutils-devel / pciutils-dev / libpci-dev
* zlib-devel / zlib1g-dev
+To compile on Solaris, use the commands below:
+gmake LDFLAGS="-L$pathtolibpci -lpci -lz" CC="gcc -I$pathtopciheaders" CFLAGS=-O2
+To compile on DragonFly BSD, use the commands below:
+ln -s /usr/pkg/include/pciutils pci
+gmake CFLAGS=-I. LDFLAGS="-L/usr/pkg/lib -lpci -lz"
+To compile and run on Darwin/Mac OS X:
+Install DirectIO from coresystems GmbH.
+DirectIO is available at
Usage / Options
OpenPOWER on IntegriCloud