Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- unsigned char foo()
- {
- int x = 1000;
- return x;
- }
- int main(int argc, char *argv[])
- {
- printf("foo returns %dn", foo());
- }
- gcc -c -g -o ../tgt/Linux/main.c.o -Wall -fpic main.c
- gcc ../tgt/Linux/main.c.o -g -o ../tgt/Linux/t -Wall
- $ t
- foo returns 232
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement