Hello Rugxulo,

Thank you very much for your expert reply.

I have some quite extensive experience with GCC on linux, but actually 
never tried to use the monster on FreeDOS. I see that DJGPP is not as 
much user friendly as the gcc I'm used to.

 > set DJGPP=c:\djgpp\djgpp.env

This was exactly the problem. First, I had no DJGPP environnement 
variable at all, then I was setting it naively to point to the directory 
where DJGPP is installed (C:\DJGPP\) - but only setting it to the value 
you gave actually solved the problem, and made GCC not crash anymore. 
Hooray!

I'm quite surprised that GCC doesn't checks if the %DJGPP% variable is 
set, and makes some sense... On the other hand, I should have read the 
readme file, which provides the correct content for the variable at line 
#224... :)

Thank you!
Mateusz





On 08/30/2012 08:07 PM, Rugxulo wrote:
> Hi,
>
> On Thu, Aug 30, 2012 at 9:13 AM, Mateusz Viste <mate...@viste-family.net> 
> wrote:
>>
>> I installed recently the FreeDOS 1.1 distro on a VirtualBox machine,
>
> Which version of VirtualBox? (Latest stable is 4.1.20.) Was VT-X
> enabled? What host OS (Windows?) ?
>
>> installed the latest DJGPP, and tried to run gcc from there...
>
>>From /current/ ? GCC 4.7.1 only?
>
>> Unfortunately, all I got is this:
>>
>> C:\DJGPP\BIN>gcc
>> Exiting due to signal SIGSEGV
>>
>> Anybody knows what this could be?
>
> The last time it did that to me, I had accidentally forgotten to
> install some needed too (e.g. BinUtils!!) or setup %DJGPP% correctly.
> Latest versions don't seem to tell you very well when that happens.
>
> At risk of stating the obvious (to someone who clearly knows what he's
> doing), what does your /manifest/ directory look like?
>
> At (ultra bare) minimum, you need these three files:
>
> djdev203.zip
> bnu222br4.zip
> gcc471b.zip
>
> unzip -q *.zip -d c:\djgpp
> path c:\djgpp\bin;%PATH%
> set DJGPP=c:\djgpp\djgpp.env
> gcc -v
>
> Should work fine then. I don't know the minimum RAM needed, but I
> assume you had a reasonable amount setup.
>
>> Is there any known incompatibility
>> between the DJGPP GCC and FreeDOS?
>
> No, because I run it natively atop FreeDOS (at least /beta/ , same
> version, but I blindly assume /current/ works too), and it's fine.
>
>> I'm using the stock Jemmex manager,
>> but tried with bare HIMEMX and XMGR with same result...
>
> I use XMGR, so if you tried that and it still failed, you either
> misconfigured it or something else is afoot.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to