2010/10/29 Hard Maker <[email protected]>
>
> El 29/10/2010 08:21 a.m., Matthias Andree escribió:
>
> Am 28.10.2010 13:47, schrieb Sergio X:
>>
>>> Hi list. I'm trying compile mspgcc4 for win32, using ming, under ubuntu
>>> linux 10.10. From some time I'm trying to do this. I modify the do-gcc.sh
>>> script add this lines:
>>> --host=i586-mingw32msvc
>>> --build=i686-linux-gnu
>>> The build system work fine building other applications, but fail building
>>> mspgcc4 with a message: /bin/bash: msp430-gcc: command not found
>>> Someone was try to do this? This is cross compiling, I want to make a
>>> windows application from linux using mingw, but the system is not mingw.
>>> I don't want to use cygwin.
>>>
>> Is PATH set properly? Do you get msp430-gcc when cross-compiling, or do
>> you get a different file name, possibly with the host triple in it? Even
>> if you find msp430-gcc, you won't be able to use it to compile libc, to
>> say the least -- you will need a native msp430-gcc (on i686-linux-gnu),
>> too.
>>
> Good point. I build msp430-gcc on linux (and for linux) and now, when try
> to compile in linux for windows have the error. I don't have msp430-gcc when
> compile for windows, but I have g++.exe, xgcc.exe, gcc-cross.exe, cpp.exe,
> etc. (never have msp430-gcc.exe) For this, I think the problem is not the
> path's
> All this exe's work, but never complete the build to get msp430-gcc.
> For the other hand, I have installed and configured wine to run console
> applications whitout need to invoke wine directly (is the default
> configuration on Ubuntu 10.10), for this, I think the build can work, but if
> I have the binary.
> Well, if I add the path to msp430-gcc (linux build) to build libc for use
> with msp430-gcc.exe in windows... work?
>
>
> If all else fails, use Cygwin and build natively. You may not want to,
>> it may not be fast, but it worked flawlessly last time I tried.
>>
> I test Cygwin, the problem is integrate the binarys builded with cygwin
> with IDE's for msp430 like i4uc (http://trac.usla.org.ar/i4uc/) or
> eclipse. When I use the msp430 suite on windows, from cygwin console all
> work fine, but when I try to use the compiler from a IDE or from windows
> cmd, I have diferents errors (can't find libs, paths, ...)
> Other problem is the dependencys of the binarys builded with cygwin. When I
> try to use the binaries builded with cygwin, I need a lot of librarys on the
> system to run the binarys. The binarys builded with mingw need yust 1 or 2
> librarys to run.
>
> Very thank's
>
> *NOTE:*
>> The MinGW/MSys version is a paperweight pseudo-"port", just barely
>> sufficient to work for a couple of test runs, and was (from what I can
>> tell from the pertinent .txt file) only compiled natively, not cross-host.
>>
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Mspgcc-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>>
>
> Now I try adjusting the PATH to include the linux msp430-gcc binary, but
fail when try to compile libc. With this messager:
/usr/bin/install: no se puede efectuar «stat» sobre «build/fix-header»: No
existe el archivo o directorio
make[2]: *** [install-mkheaders] Error 1
make[2]: se sale del directorio
`/home/sergio/mspgcc4-mingw/build/gcc-4.4.4-build/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: se sale del directorio
`/home/sergio/mspgcc4-mingw/build/gcc-4.4.4-build'
make: *** [install] Error 2
(Sorry for the spanish)
This message are sent when try to install libc, some part are installed.
But, I note a some stranged situtation. Libc is builded after msp430-gcc.
The other's binarys in the package builded with msp430-gcc like
msp430-g++.exe, msp430-c++.exe are build ok and are installed in the output
directory, but not msp430-gcc.exe.
It's possible when the source of gcc are patched, some modification are made
and for this the make don't build the binary msp430-gcc?
I don't know how the configure work and what the patch do, now I'm study
that, but if someone have a information about this are wellcome.
Thank's
Sergio
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users