[Vm-dev] Fwd: [Bug 791243] [NEW] squeak-vm version 1:126.96.36.1997-1
failed to build on armel
bert at freudenbergs.de
Wed Jun 1 17:05:42 UTC 2011
On 01.06.2011, at 18:55, Igor Stasenko wrote:
> On 1 June 2011 18:47, Bert Freudenberg <bert at freudenbergs.de> wrote:
>> On 01.06.2011, at 18:43, Igor Stasenko wrote:
>>> On 1 June 2011 18:26, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>>> On 01.06.2011, at 18:24, Igor Stasenko wrote:
>>>>> On 1 June 2011 18:20, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>>>>>> cc1: error: unrecognized command line option '-mno-fused-madd'
>>>>> just kill that option
>>>> ... but only if the compiler does not support it, right? I guess the CMakefile needs to be more intelligent about it.
>>> But you know, i took a different approach:
>>> - generate separate cmake file per each target platform, tested &
>>> proved to be working on that platform.
>> Nice. We still need a single source tar ball for unix
Because that's what distributions use. Like Ubuntu (see the bug report I forwarded).
> There is so many unizes, that you can't guarantee that same
> source tarball will be working everywhere. So why not abandon this
Okay, then we need at least a tarball for Linux. I just thought it's not that much harder to make it work on different unixes than different Linuxes. At least that's the assumption we have been operating under. There is only a single tarball release for all unices, AFAIK.
> Hudson generates a single tarball per each target:
> - one for linux
> - one for mac
> - one for windows
> - add yours
>> - how do you switch between the different architectures?
> There is no any swtich.
> You picking a concrete CMakeVMMaker configuration, suitable (and made)
> for target platform, to generate sources and cmake files.
> And then you just build VM.
> The generated files contain an explicit instructions what to include
> into build and what options to use.
> There is no any if(x) then (y) else (z) in generated files.
> It is responsibility of configuration to know all those x,y,z and sort them out.
So you are suggesting to hand-code the makefiles again? Everybody needs to tweak them to fit their machine? You can't be serious.
- Bert -
More information about the Vm-dev