I think doing sage developement and testing on a machine with just 512 MB 
is not a good idea. Sage is a ressource hog and it will not work. I think 
it is better to use a good 64 bit machine with lots of RAM and either dual 
boot it to a 32 bit distro or use virtualisation as mentioned. Quemu is 
fine, although virtualbox/VMware could be substantially faster, i.e. better 
suited for testing purpose.

For the sake of completeness: This is the link to some debian based 
installation images wich are fine tuned for very low spec machines, also 
going back as far as debian squeeze for really old hardware. I do not 
recommend you try them for  sage developement, because it will not work 
with new sage code. But if anyone wants to revitalize some old machine this 
might be the best option. It is completely built with debian live, but has 
setup and code from puppy linux, which is very light.

https://debiandog.github.io/doglinux/zz06other.html

best regards


john.c...@gmail.com schrieb am Dienstag, 17. Dezember 2024 um 15:33:56 
UTC+1:

> I do intend to try this but probably not before shutting down for a 
> holiday.  If someone can tell me exactly which packages to install that 
> would help.  I will either do it on my current laptop on which I currently 
> have ubuntu 22.04.5 LTS (but which I plan to upgrade to ubuntu 24), or I 
> might use an older laptop which is already on ubuntu 24, but on which I 
> have very little installed.   I know that I will have to recompile all 
> eclib's dependencies (pari, NTL, FLINT) in 32-bit mode, and am nervous 
> about breaking things on the laptop I use every day for real work, hence my 
> thought to use the older machine where it doesn't matter.  I am hoping that 
> after installing lib32gcc-12-dev and perhaps some other stuff, 
> setting CFLAGS and CXXFLAGS and LDFLAGS to include the right thing (-m32 at 
> least), and configuring and building and installing all the prerequisites 
> will work.  We'll see.
>
> On Sun, 15 Dec 2024 at 15:37, Grégory Vanuxem <g.va...@gmail.com> wrote:
>
>> I forgot to say that you need also to install the 32 bits libc. Other 
>> libraries like GMP for example are likely available or you will have to 
>> also cross compile them.
>>
>> Installing build stuff to cross compile your library will install 32 bits 
>> libc for you I think. This is necessary to run 32 bits applications. 
>>
>> Le dim. 15 déc. 2024, 16:13, Grégory Vanuxem <g.va...@gmail.com> a 
>> écrit :
>>
>>> Hello, 
>>>
>>> Le dim. 15 déc. 2024, 15:14, John Cremona <john.c...@gmail.com> a 
>>> écrit :
>>>
>>>> Well I am giving up on using my 20+-year-old hardware.  I have made 
>>>> many attempts to install a 32-bit distro (debian, MX, Mint) but all failed 
>>>> -- in the case of Mint, there was kernel panic before it even got going.  
>>>> I 
>>>> did a 100% successful memtest but there must be other hardware problems.  
>>>> To the dump!
>>>>
>>>> I have never tried any emulation.  My own newest (9 year old) laptop 
>>>> has sufficient power but rather little space on its disk (even after 
>>>> deleting all those iso images I downloaded).  Other machines I have access 
>>>> to are heavily used by people who need them (e.g. for their PhDs) and 
>>>> quite 
>>>> old too, so I would be nervous about using them.
>>>>
>>>> Without that, eclib will not get any 32-bit testing, unfortunately.
>>>>
>>>
>>> I wonder why you are not cross compiling your eclib using -march etc. 
>>> flags for gcc and consorts. If you use a Debian based distribution issue in 
>>> your interpreter:
>>>
>>> apt-cache search gcc | grep 32
>>>
>>> You'll find what you are looking for. Google will help you also I think. 
>>> I remember having compiled CMU CL in that way it's (was?) a 32 bits 
>>> software.
>>>
>>> Of course your processor must be able to run 32 bits applications, I 
>>> hope it's the case.
>>>
>>> Regards, 
>>>
>>> - Greg
>>>
>>>
>>>> John
>>>>
>>>> On Sun, 15 Dec 2024 at 12:46, Volker Braun <vbrau...@gmail.com> wrote:
>>>>
>>>>> Using qemu/kvm is definitely the way to go for development. You'll 
>>>>> save lots of time compiling/testing with a modern CPU. There is also a 
>>>>> number of utilities that simplify setting up virtual machines, e.g. 
>>>>> gnome-boxes
>>>>>
>>>>>
>>>>> On Saturday, December 14, 2024 at 5:08:57 PM UTC+1 Georgi Guninski 
>>>>> wrote:
>>>>>
>>>>>> > VirtualBox VMWare 
>>>>>>
>>>>>> I have been using qemu for more than 10 years and i am satisfied. 
>>>>>> Advantages: works fine everywhere. doesn't require any extra kernel 
>>>>>> modules 
>>>>>> Disadvantages: misses some shiny "features" like shared clipboard, 
>>>>>> but it is security advantage. 
>>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "sage-devel" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/sage-devel/pQw-LawYZPA/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> sage-devel+...@googlegroups.com.
>>>>> To view this discussion visit 
>>>>> https://groups.google.com/d/msgid/sage-devel/c37d3e6e-6f99-48b9-a6f7-f0a1ed69d364n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/sage-devel/c37d3e6e-6f99-48b9-a6f7-f0a1ed69d364n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "sage-devel" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to sage-devel+...@googlegroups.com.
>>>> To view this discussion visit 
>>>> https://groups.google.com/d/msgid/sage-devel/CAD0p0K68wAx5Vfsu8iRVfpqs6wWUC9JVcW-vOTq--bku-xsZWw%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/sage-devel/CAD0p0K68wAx5Vfsu8iRVfpqs6wWUC9JVcW-vOTq--bku-xsZWw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "sage-devel" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/sage-devel/pQw-LawYZPA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> sage-devel+...@googlegroups.com.
>>
> To view this discussion visit 
>> https://groups.google.com/d/msgid/sage-devel/CAHnU2dawPa5EYeoYHxYuqWoBbOeaFZu2XVGDPwEeDvRY4X3K%2BA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/sage-devel/CAHnU2dawPa5EYeoYHxYuqWoBbOeaFZu2XVGDPwEeDvRY4X3K%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/50d05fbf-d0ba-44ab-9d41-cb4962e32cd3n%40googlegroups.com.

Reply via email to