Dear Sir:

 

Loren Chen
born: 13. 02. 1964
address:ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ, Taiwan Republic
email: chychen.chen@msa.hinet.net

 

BR,

Loren

From: 陳力綸 [mailto:chychen.chen@msa.hinet.net]
Sent: Wednesday, April 25, 2012 7:11 PM
To: 'Idwer Vollering'
Cc: 'flashrom'
Subject: RE: Fedora 8 cross compile flashrom failed

 

Dear Sir:

 

  Because I am also a DOS fans not much like using OS(like Windows, Linux) to flash BIOS.

 

  And cross compiler is much interesting to me, because I not touch it before.

 

  So, I am eager want to know how can I learn to set up a cross compiler environment for me to play with funny.

 

  So, I do need your help to do so, I am stupid a little but I am a work hard man.

 

Best Regards,

Loren Chen

From: Idwer Vollering [mailto:vidwer@gmail.com]
Sent: Wednesday, April 25, 2012 6:42 PM
To:
陳力綸
Cc: flashrom
Subject: Re: Fedora 8 cross compile flashrom failed

 


CC'ing flashrom@flashrom.org, please use reply-to-all.

Op 25 april 2012 06:53 schreef 陳力綸 <chychen.chen@msa.hinet.net> het volgende:

Dear Sir:


Hello,
 

 

  I am s senior BIOS engineer,

 

  I try cross compile the flashrom for DOS but it say cant not fount pciutil header and cant build.


May I ask why you are using DOS, as a target operating system, instead of Linux?


See this page: http://www.flashrom.org/Downloads
You have to install, quote: "pciutils development package (pciutils-dev/libpci-dev/pciutils-devel, depending on OS/distribution)"
 

 

  Can you give me some hinet about how to correct dot it?


Yes: you have to adjust/include the path(s) to i586-pc-msdosdjgpp-gcc and the cross-compiled versions of libgetopt ( http://assembler.cz/flashrom/ ) and libpci.
I suggest that you study flashrom's Makefile, all the hints should be there.
 

 

  Thank you.

 

Best Regards,

Loren Chen


Idwer