Thread View: pl.comp.os.linux.programowanie
1 messages
1 total messages
Started by jureq
Sun, 18 Sep 2011 10:36
g++ -s -static
Author: jureq
Date: Sun, 18 Sep 2011 10:36
Date: Sun, 18 Sep 2011 10:36
21 lines
1009 bytes
1009 bytes
Jest program bf.cpp:
int main(int argc, char *argv[])
{
return 0;
}
kompiluję go:
g++ -static -s bf.cpp
uruchamiam:
./a.out
i wynik:
unexpected reloc type in static binaryNaruszenie ochrony pamięci
To jest debian squeeze. g++ wersja 4.4.5-8. Czy ktoś ma jakieś pomysły?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads