Re: Build Binutils package

Chris Sutcliffe <[email protected]> Wed, 3 Apr 2013 22:09:21 -0400
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <CAGHJv4dGw0i=Vywa5KZZ9WXKm2Oa8Hrf+mu9juVrzYm8LrGcDQ@mail.gmail.com>
Hi Arthur,

On 3 April 2013 12:00, arthur wrote:
> On 25/03/2013 12:03 PM, arthur wrote:
>> Is there any doc/script to direct me on how to build a test install
>> package after make.
>>
>> Also can I mingw-get from local disk instead of from a server.
>
> Can any of you give me some hint to prepare for the packaging work:-)

These are the instructions on how I used binutils:

modify config.rpath:

  cygwin* | mingw* | pw32*)
    shrext=.dll.a
    ;;

CFLAGS="-s -O2 -mtune=i686" ../binutils-2.21/configure \
--target=mingw32 \
--host=mingw32 \
--build=mingw32 \
--with-sysroot=/mingw \
--prefix=/mingw
make
make prefix=`cd ../dist;pwd` install
for i in `find ../dist -type f -iname dir`; do rm $i; done

Cheers,

Chris

--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html