Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
how do i compile, link objects, and run this program
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: how do i compile, link objects, and run this program (Read 3813 times)
sunrise07
Single posting newcomer
Posts: 3
how do i compile, link objects, and run this program
«
on:
July 15, 2014, 08:28:17 pm »
it is a C program
the program project 4 is here:
http://www.csee.umbc.edu/courses/undergraduate/201/fall07/projects/p4/
i would have to download stringtoll.o and stringtoll.h,
i have palindrome.h and palindrone.c
i have proj4.c
i don't know how to link the stringtoll.o into the program
i would try doing this: click build + run, it gives me errors
Logged
sunrise07
Single posting newcomer
Posts: 3
Re: how do i compile, link objects, and run this program
«
Reply #1 on:
July 15, 2014, 08:54:40 pm »
used to be able to run this program from linux terminal. now i am trying to run it in codeblocks (windows 7)
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: how do i compile, link objects, and run this program
«
Reply #2 on:
July 15, 2014, 09:04:12 pm »
Are you sure this .o file is generated with the same compiler on the same OS you're using?
If not then it won't work.
Logged
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]
sunrise07
Single posting newcomer
Posts: 3
Re: how do i compile, link objects, and run this program
«
Reply #3 on:
July 15, 2014, 09:23:51 pm »
the .o file is downloaded from umbc and it's not created by codeblocks
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: how do i compile, link objects, and run this program
«
Reply #4 on:
July 15, 2014, 09:31:15 pm »
Codeblocks is not a compiles, so it cannot create it anyway...
Logged
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
how do i compile, link objects, and run this program