GCC in vista...the strangest problem..

Programming, for all ages and all languages.
Post Reply
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

GCC in vista...the strangest problem..

Post by earlz »

I have finally figured out how to get GCC almost working, it executes cc1 and all of them

but now I get for a simple #include <stdio.h> it will include that file, But it won't include an include of an include, like in stdio.h is <stddef.h> and to this, it will say "file does not exist"

why the crap is this!? I have tried doing everything, running things as admin and everything...but nothing works
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

:lol: Thats just funny...
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

[disclaimer]I've never used Vista[/disclaimer]

How about running in one of:

a) a compatibility layer ('Run in WinXP compatibility mode')
b) a VM?

I know the latter is quite convoluted, but if you don't want to dual boot with another OS, that may be a decent option.

Cheers,
Adam
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post by earlz »

really don't want to use a slow emulator, not to mention the fact that I don't have my old windows XP disc

the XP compatibility thing is a joke, it doesn't help the bugs of programs for XP at all, it just makes the programs for Vista screw up
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

Brynet-Inc wrote::lol: Thats just funny...
Wait, let me guess

UNIX would fix that!

C compilers never fsck up on UNIX!
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

ehird wrote:
Brynet-Inc wrote::lol: Thats just funny...
Wait, let me guess

UNIX would fix that!

C compilers never fsck up on UNIX!
No, no no! We don't want to start that again do we?
C8H10N4O2 | #446691 | Trust the nodes.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post by earlz »

/me braces self...

actually GCC does works better on *nix systems it has much more documentation and your not forced to use crazy crap like a win32api emulation thing(cygwin) or the messed up linker of mingw

also unix isn't used nearly as much now, it's all unix variants, like linux, openbsd, ect

edit:
btw I'm a windows user, so I'm not really that biased, but if they ever port a few things like flash mx and some sound recording programs to *nix systems, then I would probably switch..
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

I think the real question here is, why on earth would you get Vista only months after its release?

Either way, Vista is trouble for XP users, and their programs, so I'm holding out...

IMO I think your problem is caused by a different library than the XP version of GCC would normally use.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Computers are apparently sold with the OS now pcmattman.. :wink:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

Ohhhhhhh... I was thinking he upgraded.
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

It's possible to downgrade (or in this case, upgrade), you know
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Post by mystran »

hckr83 wrote: edit:
btw I'm a windows user, so I'm not really that biased, but if they ever port a few things like flash mx and some sound recording programs to *nix systems, then I would probably switch..
What do you mean by "some sound recording programs"? If Linux is ok with you, there's everything from simple recorders (too many to list) to DAWs.

Various programs (well, with a bridge anything that supports DSSI) can also host Windows VST plugins (with some help from Wine) if you are into that kind of stuff. Haven't tested that myself though.

As for Flash MX, no idea if that runs in Wine. You could give it a try.
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
frank
Member
Member
Posts: 729
Joined: Sat Dec 30, 2006 2:31 pm
Location: East Coast, USA

Post by frank »

I use vista and i have no trouble at all using gcc, maybe you should make sure that all of the includes are in your path.
Post Reply