Displaying 5 results from an estimated 5 matches for "my_stuff".
2016 Jul 12
3
Not able to use PGO with LLVM+Clang built from source
Hello,
When I try to use -fprofile-instr-generate with clang (which is built from
source) I am getting following error :
ld: file not found:
/Users/Mr.Pandya/My_Stuff/Active/llvm/build/bin/../lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a
clang-3.9: error: linker command failed with exit code 1 (use -v to see
invocation)
I am not building compiler RT with LLVM.
Am I missing any thing while building llvm/clang ?
Sincerely,
Vivek
-------------- next part...
2006 Apr 12
2
where to put utility code.
Hi All,
I am new to "ruby on rails".
I have some common utility classes.
I am not sure where to put this kind of code. components\ or lib\ ?
Any comment is appreciated!
-Jon
_________________________________________________________________
It?s the future of Hotmail: Try Windows Live Mail beta
http://www2.imagine-msn.com/minisites/mail/Default.aspx?locale=en-us
2014 Aug 05
2
Is it a good idea or even possible to redefine attach?
Hi,
Today I got curious about whether or not I /could/ remove `attach' from
my system so:
- Backed it up
- Implemented a new one
- Like this
,----
| attach.old <<- attach
| attach <<- function(...) {stop("NEVER USE ATTACH")}
`----
I got the error:
,----
| Error: cannot change value of locked binding for 'attach'
`----
If I unlock `attach' I assume that I
2006 Jan 10
5
IP Address
There''s got to be a simple answer: how do you get the IP address of a
visitor in Ruby? Any help would be appreciated!
--
Posted via http://www.ruby-forum.com/.
2006 Apr 05
6
Howto add application-wide variables?
...#39;'t work, so
I am left scratching my head.
eg from plugin ./vendor/plugins/myplugin/shared_defs.rb file
Module SharedDefs
def load_shared_defs
@var1 = something
@var2 = something_else
end
end
eg from controller
include SharedDefs
require :load_shared_defs
def index
@my_stuff = @var1
end
@var1 is not defined and so my guess is my scope is off or I''m not
accessing it correctly but I am not sure which.
Thanks in advance for any light you can shed! :)
-Andy