This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: windres on solaris x86 help


Hi,

2008/12/31 James Trickel <james7088@gmail.com>:
> I am trying to build windres for solaris x86 to use with launch4j.
> Launch4j uses windres with the following options:
>
> -J rc -O coff -F pe-i386
>
> I am currently building the binutils as follows:
> # mkdir objdir
> # cd objdir
> # ../configure
> I notice 'windres' is not built so I go into the binutils dir and run
> # make windres
>
> #./windres --help
> (cropped)
> /usr/local/bin/windres: supported targets: elf32-i386 coff-i386
> elf64-x86-64 elf64-little elf64-big elf32-little elf32-big srec
> symbolsrec tekhex binary ihex
>
> I can see that the 'pe-i386' is not listed in the supported types.
>
> My question is, How do I get pe-i386 to be available in the supported types?
>
> I have tried passing in the --enable-targets with:
> i386-pc-solaris2.10, pe-i386, but bfd complains about the pe-i386 not
> being supported.
>
> Any help or direction would be appreciated.
>
> Compiler being used:
> gcc (GCC) 3.4.6
>
> Thanks in Advance,
> -James
>

Use --enable-targets=i386-pc-solaris2.10,i686-pc-mingw32

and it should work.

Cheers and a happy new year
Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]