Problem with GCC on minix - fixed, somehow

A place to discuss the implementation and style of computer programs.

Moderators: phlip, Prelates, Moderators General

Problem with GCC on minix - fixed, somehow

Postby RoadieRich » Sat Nov 26, 2011 9:17 pm UTC

As you can see from the screenshot, the standard "hello world" doesn't compile.

Screen shot 2011-11-26 at 21.02.39.png

(I'm using screenshots because I'm running it in a VM and I've not yet figured out an easy way of transferring files between VM and host)

The odd thing is, "make world" in /usr/src works just fine. (That was the first exercise.) As that uses a makefile, it suggests my build environment could be set up wrong. If so, what steps should I take to fix it?
Output of env:
Screen shot 2011-11-26 at 21.12.53.png


Never mind, it works now. Since I last tried, I've updated GCC, and run make clean in the source tree. I'm not sure which exactly did it, but one of them did.
roband wrote:Mav is a cow.

UniJam 2012: Inter-university Games Jam hosted by Nottingham Trent University DevSoc.
nlug: Nottingham Linux User Group
DevSoc: The Nottingham Trent University Software Development Society
User avatar
RoadieRich
The Black Hand
 
Posts: 1030
Joined: Tue Feb 12, 2008 11:40 am UTC
Location: Somewhere only we know

Re: Problem with GCC on minix - fixed, somehow

Postby Jplus » Sun Nov 27, 2011 4:32 pm UTC

I know anything posted in this thread from now on will be off-topic, but please allow me to hijack.

I'm running Minix in a virtual machine too (in fact also on a mac), just for fun and for testing. Why do you do it? Are you also running a shitload of other operating systems?
Feel free to call me Julian. J+ is just an abbreviation.
Image coding and xkcd combined
User avatar
Jplus
 
Posts: 1551
Joined: Wed Apr 21, 2010 12:29 pm UTC
Location: classified

Re: Problem with GCC on minix - fixed, somehow

Postby RoadieRich » Mon Nov 28, 2011 2:22 am UTC

It's for the Systems Software module (I think) of my Software Engineering degree. I do have a selection of other OSs, but most of them don't get a lot of use. And about three of them just plain don't work.
roband wrote:Mav is a cow.

UniJam 2012: Inter-university Games Jam hosted by Nottingham Trent University DevSoc.
nlug: Nottingham Linux User Group
DevSoc: The Nottingham Trent University Software Development Society
User avatar
RoadieRich
The Black Hand
 
Posts: 1030
Joined: Tue Feb 12, 2008 11:40 am UTC
Location: Somewhere only we know


Return to Coding

Who is online

Users browsing this forum: Bing [Bot] and 7 guests