[nflug] GCC question

joshj at linuxmail.org joshj at linuxmail.org
Mon Aug 7 16:17:56 EDT 2006


When we last left our adventurers...

> I asked the professor and it must compile on MVC++...im just going to
> use gcc and std libs and hope for the best...ill see if I can test the
> code on a friends machine before submitting.

I just realized that I got a little side-tracked and didn't totally answer 
your original question. But yes, anything written in C++ using 
only standard libs should definitely compile on MVC++.

-Josh

>
> On 8/7/06, Sam Stern <samstern at samstern.net> wrote:
>> 
>> 
>> >  -----Original Message-----
>> >  From: nflug-bounces at nflug.org
>> >  [mailto:nflug-bounces at nflug.org] On Behalf Of joshj at linuxmail.org
>> >  Sent: Monday, August 07, 2006 03:43 PM
>> >  To: nflug at nflug.org
>> >  Subject: Re: [nflug] GCC question
>> > 
>> >  When we last left our adventurers...
>> > 
>> > >  I am taking a class at UB this semester which involves some c++
>> > >  programming, no biggie, but the professor grades code by
>> >  compiling on
>> > >  microsoft visual C++ 6.0. I really do not want to have to recompile
>> > >  code on that POS program just to see if it works, so my question is
>> > >  shouldnt the c++ code compile fine in MVC++ if I only use std
>> > >  libraries and nothing linux/windows specific? Nothing will
>> >  be advanced
>> > >  c++ so this should make it easier.
>> > 
>> >  When I took c/c++ my Instructor said that I could use gcc
>> >  because (as you stated) we were using no platform-specific
>> >  libraries. She
>> >  did say that if, for some reason it didn't compile in Borland
>> >  on Windows
>> >  (But it always did) then she'd want to see it compile on gcc
>> >  and then run
>> >  properly. But ask your prof. YMMV
>> > 
>> >  -Josh
>> > 
>>
>>  Josh,
>>
>>  Depending on your professor, you might be able to get permission to use a
>>  version of gcc ported to windows to demonstrate your code. Take a look at:
>>
>>  Fast and Easy to use very complete dev centric environment:
>>  http://www.mingw.org/
>> 
>>
>>  Way more than just a compiler, it's the defacto unix on windows tool:
>>  http://www.cygwin.com
>>
>>  Rather Old but well respected with a vibrant dev following:
>>  http://www.delorie.com/djgpp/
>>
>>  Marginally Effective for your intended use, but often far more trouble
>>  than
>>  it's worth unless you are a Windows admin who likes pain and must use MS
>>  only tools:
>>  http://www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx
>>
>>  Avoid (simply too unstable, unreliable and touchy to configure). Included
>>  in
>>  the event someone asks about it:
>>  http://www.colinux.org/
>> 
>>
>>  HTH
>> 
>>
>>  Sam S.
>>  Grand Island, New York, USA
>>
>>  _______________________________________________
>>  nflug mailing list
>>  nflug at nflug.org
>>  http://www.nflug.org/mailman/listinfo/nflug
>> 
>
>
> -- 
> Frank
> Shenanigans!!
> http://www.syncoder.com
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
>
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list