LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Puppy Log

Posted 05-17-2012 at 03:25 AM by markyd
Updated 10-16-2013 at 05:36 AM by markyd

Been a big fan of Puppy Linux for many years, having a bootable USB stick in your pocket in the IT game is a very handy thing. When I got a new work laptop (ooooooh!) my Puppy stick broke due to drivers and time for an upgrade. Oh work laptop is a Dell E5420, nothing special but not bad either.

After a bit of a search in the forums someone suggested I try Precise Puppy 5.3 and I was mighty impressed, both the LAN and WI-FI worked, yey! I am not sure how mainstream Precise is as a...
LQ Newbie
Posted in Distributions, Puppy
Views 681 Comments 0 markyd is offline
Old

Fedora Linux Kernel එක යාවතාක්කල් කර ගැනීම....

Posted 05-16-2012 at 06:29 AM by sunjayasri

ඉස්සරලාම Terminal එකට ගිහිල්ලා ඔය පහතින් දීලා තියෙන Commands ටික පිලිවෙලින් එකින් එක නිවරැදිව කරලා Enter කරන්න...

su -

yum -y update

yum -y install gcc make kernel-headers kernel-devel

shutdown -r now

දැන් ඉතින් පුදපු ගමන් කාපි යකා වගේ ඔය රතුපාටින්...
LQ Newbie
Posted in Uncategorized
Views 580 Comments 0 sunjayasri is offline
Old

බල්ලො බිරුවාට කදු පාත්වෙන්නේ නැත...

Posted 05-16-2012 at 06:18 AM by sunjayasri

මේ එකේ ඉන්නේ මහ ඊරිසියාකාර ගස්තර හැත්තක් භව මා අද දින අවබෝද කර ගතිමි..මන්ද මුන් අපි දාන ටිප් වලත් ඒව වැරදි කියන්න බැරි නිසා ඒව කපාහරින්න කොමෙන්ටු දාන නිසා වේ...

බල්ලො බිරුවාට කදු පාත්වෙන්නේ නැත...
LQ Newbie
Posted in Uncategorized
Views 535 Comments 0 sunjayasri is offline
Old

Example: sig-handler funcs for C and C++ (throw-catch) PART 2

Posted 05-13-2012 at 11:37 PM by rainbowsally
Updated 05-14-2012 at 07:39 AM by rainbowsally (possible cpu hang if -O2 switch is used)

UPDATE:
Note: The signal-handler files can't be compiled with the -O2 switch and it's probably best if you only trap the signals you really intend to redirect, such as SIGSEGV (11). If you compile what we have here with the -O2 switch your cpu may hang if you try to exit using Ctrl-C for example. See implementation notes added to signal-handler.c below.

See part 1 for main functions to test this in C and C++.

To throw and catch stuff like segfaults in C++ it's...
Member
Posted in Uncategorized
Views 1443 Comments 0 rainbowsally is offline
Old

Example: sig-handler funcs for C and C++ (throw-catch) PART 1

Posted 05-13-2012 at 11:22 PM by rainbowsally

Today's Features
  • THROW-CATCH in C
  • Translating signals to C++ throw-catch parameters.

To compile the C++ example these vars are set in mc2.def and should be similar for other methods of building it.
Code:
COMPILE = g++ -m32 -c -o # COMPILE <output_file> ...
CFLAGS = -Wall -g3 --save-temps
# or CFLAGS = -Wall -O2 # optimized
INCLUDE = -I $(SRCDIR) -I$(PREFIX)/include 

LINK = g++ -m32 -o # LINK <output_file> ...
LDFLAGS = #
...
Member
Posted in Uncategorized
Views 1527 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration