Philip Prindeville wrote:
> Tony Mechelynck wrote:
>> Philip Prindeville wrote:
>>   
>>> Sorry for the newbie question, but I'm trying to get Vim (7.1) to port 
>>> to Astlinux (0.5).
>>>
>>> Unfortunately, the src/auto/configure file seems to suggest (around line 
>>> 2801) that cross-compiling isn't supported.
>>>
>>> Is there a work-around to getting Vim cross-compiled?
>>>
>>> I was a little surprised:  I would have thought that when bringing up a 
>>> new machine, a lot of people would make Vim part of their early 
>>> bootstrapping process and get it into the new environment quickly...
>>>
>>> Thanks,
>>>
>>> -Philip
>>>
>>> P.S. Yes, I actually did the read FAQ first, and didn't see anything on 
>>> cross-compilation...
>>>     
>> If you have a C/C++ compiler and linker (such as gcc) on your astlinux box, 
>> or 
>> if there is some known source from which you can get it, then you don't need 
>> a 
>> cross-compiler. Just download the sources on the target machine and compile 
>> there. See also my HowTo page 
>> http://users.skynet.be/antoine.mechelynck/vim/compunix.htm about compiling 
>> Vim 
>> on Unix-like systems.
>>
>>
>> Best regards,
>> Tony.
>>   
> 
> It *is* a Unix box, but it's a run-from-flash system, and compiling on 
> the system (because the processors typically aren't very fast) is slow 
> and tedious...  plus all the writing of temp files is hard on the flash 
> media.
> 
> Short answer:  much quicker to compile on the host system.
> 
> So... there is no easy way to cross-compile then?  The host platform is 
> Linux Fedora Core 7...
> 
> -Philip

If the existing configure script and top-level Makefile aren't what you want, 
maybe you can construct a "special-purpose" makefile, maybe src/Make_ast.mak 
or something? It wouldn't be the first case: after all, compiling on Cygwin 
for use on native-Windows (using src/Make_cyg.mak) can also be considered a 
"cross-compile".


Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
164. You got out to buy software, instead of going out for a beer.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui