Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22016

What does unrecognized option -p in gcc means? [duplicate]

$
0
0

I'm trying to run a basic hello world program but compiling with

gcc -o hello hello.c   

I get the following error

ld: unrecognized option -p collect2: error: ld returned 1 exit status

I'm not really sure what it means. I've done it before. I was installing some libraries and this occurred.


Viewing all articles
Browse latest Browse all 22016

Trending Articles



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