| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> like it? <1> Prague is a beautiful town. <2> Yup <3> another question <1> (It also has the oldest German university. But you can't really say that (at least if you're German)) <2> Been here for 3 weeks (with some week off in the middle) <2> Some morons crashed some cluster <2> For a restore test <3> I include a couple of C-headers into my C++ code <2> And they didn't unmount /inbackup before doing rm -rf / <2> So they deleted the backups as well <4> doh <1> Let me guess, the crashing was quite successful. <3> why is that I need to compile those C-files before I can compile and link my C++ program? <2> And they didn't backup on tape cause "I don't know how to tar files > 8 GB" <2> So I didn't know either
<2> I typed man tar <2> I showed -E <5> corstan you don't <2> And I slapped them <5> you need them before you can LINK <5> but not compile <3> vawjrwrk, need what? <2> Well, I restored it without the Oracle archive logs, in 1 day :D <2> For a cluster of 8 machines <3> vawjrwrk, the C-files? <1> Ashe`: that's silly. They should give their pay cheque back. <5> corstan of course <3> vawjrwrk, I have them in the same dir. <5> so? what's your point? <4> corstan you need to compile everything you want to link, before you can link... <2> I shouldn't have restored it, they'd get fired <2> Those people are completely dumb <2> I gave one a file to put on one of the machine (a new .so) <2> Told him to just restart that process <2> And he shuts down the whole cluster <3> vawjrwrk, but I always end up getting errors about functions I have in the C-files cannot be found when the C++ code is being compiled <2> And reboots everything <2> :/ <3> vawjrwrk, so after I have #include <1> That *does* restart the process. <2> Yeah, I guess, but it prevents people from giving phone calls for 15 minutes <3> vawjrwrk, I do: gcc -c *.c -lm e.g. <3> vawjrwrk, then I: g++ -o foo.app *.cpp *.o -lm ? <4> corstan you're not making much sense <4> as usual <5> corstan learn about make <3> I am using shell script <5> learn about make <3> first I need learn about compiling correctly <5> but that looks about right <6> make is good. I just learned it a month ago... so sweet <2> About time heh <2> It's probably the only thing that's almost as old as vawjr <6> well, I just started working almost primarially in linux a month ago, so I hadn't needed it until then <3> vawjrwrk, so I am obligated to have object files of the C code before I can compile the C++ code, even though I have #include of C code in the C++ code? <5> jsaacmk what were you working in before? <3> making any sense? <6> just windows using like VC++\ <1> jsaacmk: a fun thing is that you can use make for a lot of other work, too. <4> corstan - not at all <2> Like washing the dishes <1> make dishwash <2> Usually I put that in clean: <7> Hi Debugger, short time since I last used you. <8> i am having trouble linking a .lib file using MinGW g++ <8> doesn't seem to work <2> Maybe it was made with VC++ <4> Bob77 - care to tell us what 'doesnt seem to work' might mean? <8> lol <3> rdragon, you totally understand what I meant? <9> Icewolf: haha :) <7> Oh I wish the debugger was in person :) <4> corstan - I understand what you wrote, which is quite possibly not even close to what you meant <3> heh, oh god <8> yeah, the .lib was made using VS
<8> i thought they were standardized <4> "<3> vawjrwrk, so I am obligated to have object files of the C code before I can compile the C++ code" <-- I can't imagine that this is true <3> he's not gonna help --> http://maps.google.com/maps?ll=-16.341133,-71.965269&spn=0.155239,0.240704&t=k&hl=en <1> clean:: dishwash <5> Bob77 nope <1> clean:: vaccum <3> rdragon, step by step then <5> corstan what rdragon quoted is NOT true <8> fork <3> rdragon, I compile the C files: gcc -c *.c -lm <-- fine ? <2> Nope <5> you need the header files so you can compile everything <2> You have a -l <4> is that jesus in the sand? <5> you need the object files to link <3> vawjrwrk, I need the header files?, of course they are in there <3> !!! <3> they are included in the C files <3> now I am talking about C code only <5> also the cpp file(s) one trusts <4> corstan nobody has said anything about header files <4> oh, i guess vawjr did, heh <2> Compile .c to .o <2> Declare in .cpp as extern "C" <3> ok, I skip the -lm <2> Compile .cpp to .obj <2> Link them all <5> he was complaining earlier that he was getting "undefined" while compileing the c++ stuff <2> And in the darkness, bind them <3> gcc -c *.c <2> Ehm, that was the linking I guess <3> --> *.o files great <2> So do the same with the .cpp <5> how smart IS make these days <5> with it's defaults <1> I rarely use them. <5> does it try to link all the .obj and .o files if you do make widget <5> and there's a widget.cpp plus a few other odds and ends <5> and NO makefile <6> all I know is that make will only do the first thing, and make whatever depends on it <5> actually whatever it depends on <6> oh yeah... oops <10> humm <11> hi world! <10> all the sin cos operations are in radians right? <12> tux1, they are not in degrees <13> Mainly, corstan is confused about the distinction between compiling and linking <3> poor corstan <10> why processors preffer to do calculations in radians that in degrees? <12> vim has some fun make integration <5> because it's math <5> sin(x) is defined in math and it has nothign to do with degrees <5> and the processor doesn't do it (most likely a library does) <10> ho because degrees is just a way to me***ure angles??? <3> radian are pretty standard in numerical calculations <3> Matlab uses it as default <3> radans <3> err, radians <4> it's pretty trivial to convert degrees <--> radians, with a little pie <1> tux1: did you ever look at the Taylor series for sin()/cos()? <12> well, if you want to calculate trigonometric functions, the algorithms like taylor series or other less precision ones work for radians by default <10> no never <5> how much math have you studied? <1> You could write the Taylor series for sin based on degrees, of course. But it would look ugly. <12> yeah <8> anyone compile opengl applications under MinGW32 ? <12> Bob77, sure. Why? <8> know where i can get the libraries for opengl under mingw32 ? <12> there are several ways, I used a devpak plugin from code::blocks to get it. <12> doesn't mingw come with it anyway? <8> it comes with .h but not with .a <14> hi <14> can anyone help <1> You can help yourself by reading the channel topic first.
Return to
#c++ or Go to some related
logs:
blue pumpkins suck MSS2 ubuntu #chatzone pam_timestamp_check: pam_timestamp: `/' owner UID != 0 #mysql xmkmf centos #skype #AllNiteCafe #linux marlboroyal
|
|