Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6043

Compiling a c program on linux ubuntu

$
0
0

Hey guys please help me out here. I have made a c program. I'm new to it and compiling it and i'm getting an error thats making me pull my hair out.

error

as: unrecognized option "--32"

I've tried using gcc -c, gcc -o to no avail.

however, using gcc -S to get a asm file works.

What am I doing wrong?

EDIT: I've tried

gcc -c verilog.cgcc -o verilog verilog.cgcc -o verilog.cgcc verilog.c -o verilog

I also got a warning on a part of my code but that wouldnt stop the compilation though right?


Viewing all articles
Browse latest Browse all 6043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>