Shell - c++ compile with gcc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Shell - c++ compile with gcc

Mark Wieder via use-livecode
To compile c++ code save file with extension .mm
cd ~/Desktop
g++ -Wall fileName.mm -o fileName

This version is different that the c code version
posted but you can use either version.

The only difference is c++ has the extension
.mm and then you use g++ while c has the
extension .c and you use gcc NOT g++.

JB


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Loading...