Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 20:41
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Puppy In-House Development
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 14 of 16 [229 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16 Next
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Wed 01 Jan 2014, 07:11    Post subject:  

I wonder if it is just a build time issue?
mount.gz
Description  Here is a precompiled version
needs to be gunzipped and made executable again.
gz

 Download 
Filename  mount.gz 
Filesize  198 Bytes 
Downloaded  96 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Wed 01 Jan 2014, 07:19    Post subject:  

Guys I am a true noob so don't pay too muc hattention
but we need UEFI support tha teven a noob can get.
I have defered to buy a computer now for some
12 month or more since all computer sold was
UEFI or if they did not have UEFI they would cost 3 times more
being some Game Special made with water cooling and
special made by enthusiasts. Not my style though.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Wed 01 Jan 2014, 07:46    Post subject:  

fails on slackware64-14.1, same error as L18L

however, builds with clang.. not what you want though
Code:
bash-4.2# clang -nostdlib -Os -ffreestanding -fomit-frame-pointer -o mount mount.c
bash-4.2# strip --strip-all -R .note -R .comment mount
bash-4.2# sstrip mount
bash: sstrip: command not found
bash-4.2# stat -c %s mount
792




Code:
bash-4.2# mkdir test
bash-4.2# ./mount /dev/sdb1 test ext2 "P" noacl
bash-4.2# cd test
bash-4.2# ls
bash-4.2#
bash-4.2# cd ..
bash-4.2# ./mount /dev/sdb1 test ext2 "BJ" noacl
bash-4.2$echo $?
255
fails anyway

Just tested yours too. The same.. maybe I have the 'data' param wrong?

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Wed 01 Jan 2014, 08:52    Post subject:  

I have been leaving data as "" thus far since it is currently unused {its the "D"((long)0) parameter} ... need to look into that still, but I think int will normally just be argv[5]
I've been meaning to write a platform independent macro to handles syscalls and _start using inline asm

all of platforms can be in a format similar to:
Code:
   asm(
      "int $128"  //start a linux x86 syscall
      :   "=a"(ret) //the return
      :   "a"(21), //eax register ... 21 is the mount syscall
         "b"((long)argv[1]), //ebx register is 1st syscall parameter
         "c"((long)argv[2]), //ecx
         "d"((long)argv[3]), //edx
         "S"((long)flags),
         "D"((long)0)
      : "memory" //dirty memories :)
   );

so a single ifdef set can be used to define everything according to http://man7.org/linux/man-pages/man2/syscall.2.html and http://sourceforge.net/p/predef/wiki/Architectures/
...
#elif __X86__
#define SYSCALL_ENTRY "int $128"
#define FIRSTREG "a"
... __ppc__ ...

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1776
Location: Israel, somewhere in the beautiful desert

PostPosted: Wed 01 Jan 2014, 09:53    Post subject:  

nooby - UEFI is supported.
_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Wed 01 Jan 2014, 12:53    Post subject:  

Iguleder wrote:
nooby - UEFI is supported.

Cool thanks

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Wed 08 Jan 2014, 10:30    Post subject:  

Sorry guys, just taking attention off spammer
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Ibidem

Joined: 25 May 2010
Posts: 430
Location: State of Jefferson

PostPosted: Wed 08 Jan 2014, 13:51    Post subject:  

Iguleder, you may wish to pull from my tinyxlib "blob" branch; it has a couple CVE fixes for libXfont on top of your changes.
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1776
Location: Israel, somewhere in the beautiful desert

PostPosted: Wed 08 Jan 2014, 18:29    Post subject:  

Yep, saw these awful CVEs, I'll do this when I find a free moment.
_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
Ibidem

Joined: 25 May 2010
Posts: 430
Location: State of Jefferson

PostPosted: Wed 08 Jan 2014, 20:38    Post subject:  

Iguleder wrote:
Yep, saw these awful CVEs, I'll do this when I find a free moment.

That branch is called that because all the object files go into one big blob (libX11.a) Wink. Other than CVE fixes and a couple old buildlogs disappearing, it's identical to your tree.
(The logs were confusing grep.)

On a related subject, I looked at your tinyxserver changes and cherry-picked a few changes (xinit and the amd64 stuff).
But when I realized that the fonts were about 30 MB, I figured it would be better to build fontutils and generate the localized fonts with ucs2any.
Long term, I'm thinking to have ~4 trees:
tinyxlib
tinyxserver
xutils
xfonts
and then set up something to build all of it at one go.

For xutils I'd like to have at least bdftopcf, ucs2any, xfontsel, xkill, xwininfo, xlsclients, xlsfonts, oclock or xclock, xcalc, xmag, xmore, and maybe pixmap, xman, and a couple other tools like sxpm.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2171

PostPosted: Thu 09 Jan 2014, 04:00    Post subject:  

Can I urge you all again to make these sources completely independent. All through the sources there are references to installed header files which break the build when doing it on a modern system. I started once to do this, but with several of you working independently it's too hard to keep up as I do other things. Just search for occurrences of '<X11/..> to see what I mean.

I applaud all your efforts -my original work of creating a working build of tinyX has really paid off for you fellows.
Back to top
View user's profile Send private message 
Ibidem

Joined: 25 May 2010
Posts: 430
Location: State of Jefferson

PostPosted: Thu 09 Jan 2014, 13:23    Post subject:  

amigo wrote:
Can I urge you all again to make these sources completely independent. All through the sources there are references to installed header files which break the build when doing it on a modern system. I started once to do this, but with several of you working independently it's too hard to keep up as I do other things. Just search for occurrences of '<X11/..> to see what I mean.

I'm using tinyX as the only X on my own system, with the headers installed; while
Code:
sed -e 's|<X11/\(.*\.h\)>|"\1"|g'
will make the change you refer to, the headers will not work when installed.
My guess is that specifying -Ipath/to/tinyxlib/include/ first thing is the only way to avoid the issue...
Oh, that's right, it might work to use symlinks:
Code:
find * -name '*.c' -o -name '*.h' |xargs sed -e 's|<\(X11/.*\.h\)>|<tiny\1>|g' -i
cd include
mv X11 tinyX11
ln -s tinyX11 X11


Quote:
I applaud all your efforts -my original work of creating a working build of tinyX has really paid off for you fellows.

Thanks!
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1776
Location: Israel, somewhere in the beautiful desert

PostPosted: Fri 10 Jan 2014, 06:27    Post subject:  

Merged the fixes Wink

EDIT: got ROX-Filer and gdk-pixbuf to build statically!

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
linuxcbon

Joined: 09 Aug 2007
Posts: 749

PostPosted: Fri 10 Jan 2014, 10:27    Post subject:  

Do you have a version with a windows manager which can use the mouse and the keyboard ?
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1776
Location: Israel, somewhere in the beautiful desert

PostPosted: Fri 10 Jan 2014, 12:04    Post subject:  

Yes, with Ratpoison. I'm currently working on a new image, with a JWM/ROX-Filer desktop.
_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
Display posts from previous:   Sort by:   
Page 14 of 16 [229 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0759s ][ Queries: 12 (0.0101s) ][ GZIP on ]