Did you try compiling with gcc? g++ => main.cc, main.cpp gcc => main.c
Chad Baker Professor Emeritus Christian Brothers University Electrical and Computer Engineering 650 East Parkway South Memphis, TN 38104 On Mar 17, 2014, at 12:59 PM, [email protected] wrote: > > I am compiling a .c file with the command: > g++ main.c -o main > The command is successful and the executable is made. However sometimes the > executable does not work while others with the same code the executable is > successful. Has anyone else had a problem similar? > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
