Le 28.06.2013 11:26, smartmobili.com a écrit :
> Le 26.06.2013 21:59, Derek Buitenhuis a écrit :
>> On 2013-06-26 3:54 PM, smartmobili wrote:
>>> I tried to build it on linux but from what I understand the scripts
>>> build toolchains
>>> that allow to cross-compile from linux and not generate a native
>>> toolchain.
>>> What script should I start ?
>>
>> The general idea is:
>>
>> 1) Generate a a toolchain which targets i686-w64-mingw32 and runs on
>> Linux.
>> 2) Generate a a toolchain which targets x86_64-w64-mingw32 and runs
>> on Linux.
>> 3) Use the first toolchain to generate a toolchain which both 
>> targets
>> and runs on i686-w64-mingw32.
>> 4) Use both the first and second toolchains to generated a toolchain
>> which targets x86_64-w64-mingw32 and runs of i686-w64-mingw32.
>>
>
> I am giving up for the moment but just hope that the next
> person/company who will deliver a
> native toolchain will also include objc support.

Ok so finally after a fight with msys I have finally decided to use 
rubenvb builadd.sh script on linux
and I might be wrong but I think something is missing about objc.
I agree that objc is added as a supported language to the configure but 
that's not normal because at the end
I don't get any libobjc or any include about objc.

vincent@vrm 
~/Projects/gcc-4.7.4-release_rubenvb/packages/x86_64-linux-gnu/mingw32/lib/gcc 
$ tree -L 3 .
.
└── i686-w64-mingw32
     └── 4.7.3
         ├── crtbegin.o
         ├── crtend.o
         ├── crtfastmath.o
         ├── finclude
         ├── include
         ├── include-fixed
         ├── install-tools
         ├── libcaf_single.a
         ├── libgcc.a
         ├── libgcc_eh.a
         ├── libgcov.a
         ├── libgfortranbegin.a
         └── plugin


Where is libobjc.a or libobjc.dll.a?

here is what I get on cygwin :

$ tree -L 3 .
.
`-- i686-pc-cygwin
     `-- 4.5.3
         |-- cc1.exe
         |-- cc1obj.exe
         |-- cc1objplus.exe
         |-- cc1plus.exe
         |-- collect2.exe
         |-- crtbegin.o
         |-- crtend.o
         |-- crtfastmath.o
         |-- include
         |-- include-fixed
         |-- install-tools
         |-- libffi.a
         |-- libffi.dll.a
         |-- libffi.la
         |-- libgcc.a
         |-- libgcc_eh.a
         |-- libgcc_s.dll.a
         |-- libgcov.a
         |-- libgomp.a
         |-- libgomp.dll.a
         |-- libgomp.la
         |-- libgomp.spec
         |-- libobjc.a
         |-- libobjc.dll.a
         |-- libobjc.la
         |-- libssp.a
         |-- libssp.dll.a
         |-- libssp.la
         |-- libssp_nonshared.a
         |-- libssp_nonshared.la
         |-- libstdc++.a
         |-- libstdc++.dll.a
         |-- libstdc++.dll.a-gdb.py
         |-- libstdc++.la
         |-- libsupc++.a
         |-- libsupc++.la
         |-- lto-wrapper.exe
         `-- lto1.exe

or inside the native distribution of my native linux distribution, I 
also have those objc include and libraries.

When I log inside the build logs they are built and I can find the lib 
:

vincent@vrm ~/Projects/gcc-4.7.4-release_rubenvb $ find . -name 
"libobjc*"
./src/gcc/libobjc
./src/gcc/libobjc/libobjc.def
./src/gcc/gcc/testsuite/objc.dg/libobjc-selector-1.m
./mingw64mingw64/gcc/x86_64-w64-mingw32/libobjc
./mingw64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc-4.dll
./mingw64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.lai
./mingw64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.dll.a
./mingw64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.la
./mingw64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.a
./mingw64mingw64/gcc/x86_64-w64-mingw32/libobjc/libobjc.la
./linux64mingw64/gcc/x86_64-w64-mingw32/libobjc
./linux64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc-4.dll
./linux64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.lai
./linux64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.dll.a
./linux64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.la
./linux64mingw64/gcc/x86_64-w64-mingw32/libobjc/.libs/libobjc.a
./linux64mingw64/gcc/x86_64-w64-mingw32/libobjc/libobjc.la
./linux64mingw32/gcc/i686-w64-mingw32/libobjc
./linux64mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc-4.dll
./linux64mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.lai
./linux64mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.dll.a
./linux64mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.la
./linux64mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.a
./linux64mingw32/gcc/i686-w64-mingw32/libobjc/libobjc.la
./mingw32mingw32/gcc/i686-w64-mingw32/libobjc
./mingw32mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc-4.dll
./mingw32mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.lai
./mingw32mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.dll.a
./mingw32mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.la
./mingw32mingw32/gcc/i686-w64-mingw32/libobjc/.libs/libobjc.a
./mingw32mingw32/gcc/i686-w64-mingw32/libobjc/libobjc.la

So it seems there is a problem during a copy or something like that, if 
someone could help ...
I would like to avoid to copy them manually.

Thanks













------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to