Tagged Questions
1
vote
0answers
18 views
Debugging information in GCC preprocessor output [migrated]
I was inspecting the preprocessed output generated by GCC, and I see a lot of these in the .i file that I generated using the -save-temps flag:
# 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4
...
1
vote
3answers
278 views
I can not get my Realtek 8723 driver source compiled
I have a Lenovo IdeaPad Yoga 13. WLAN won't work out of box with fedora 18. So I googled around and found this 2 links:
...
0
votes
1answer
62 views
USB-Serial Driver(Exar Xr21v1414) Run Error
I'm currently trying to run the bellow driver in linux-3.8.3 on Exar xr21v1414
http://www.exar.com/connectivity/uart-and-bridging-solutions/usb-uarts/xr21v1410,
but when i install the driver ...
2
votes
1answer
57 views
Make Completion Progress Script
Any time I'm executing a build process that takes several hours, I inevitably stare at my terminal and wonder, "how much longer?" Sometimes, I manually pick up on some pathname echoed to the terminal ...
0
votes
0answers
79 views
'dereferencing pointer to incomplete type' in compiling FreeBSD 4.2 custom system call - FreeBSD [closed]
I already posted this question on Stack overflow, but no luck there:
http://stackoverflow.com/questions/14784525/dereferencing-pointer-to-incomplete-type-in-compiling-freebsd-custom-system-caF
I am ...
2
votes
2answers
235 views
USB Driver Compilation Error
I'm currently trying to compile a Linux USB UART driver, which is provided here:
http://www.exar.com/connectivity/uart-and-bridging-solutions/usb-uarts/xr21v1410
The driver consists of 2 header files ...
3
votes
1answer
150 views
IP_TRANSPARENT missing from glibc headers
I'm trying to use the IP_TRANSPARENT declaration. I am using debian 6.0.5. IP_TRANSPARENT is only defined in linux/in.h however it conflicts with netinet/in.h.
In centos for example, IP_TRANSPARENT is ...
4
votes
2answers
445 views
How to compile a c program without leaving the editor?
I am using vim editor on Linux mint. I want to know if there is any way to compile c program without leaving the editor.
59
votes
4answers
14k views
Why is FreeBSD deprecating GCC in favor of Clang/LLVM?
So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM.
From what I have seen around ...
5
votes
4answers
614 views
Does optimizing for size reduce runtime memory usage as well as binary size?
Does optimizing for size with gcc -Os only reduce the binary size of a program, or does it reduce its runtime memory usage as well? I know what exactly the results are depend on the specific code, but ...
6
votes
1answer
255 views
Why would one want to compile multiple .cpp files to the same executable?
Why would you do
g++ -Wall -I/usr/local/include/thrift *.cpp -lthrift -o something
instead of:
g++ -Wall -I/usr/local/include/thrift -c Something.cpp -o something.o
g++ -Wall ...

