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 ------------------------------------------------------------------------------ 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
